KV
Namespaced key-value store API — read, write, delete, list, and atomically increment KV entries for cross-task agent state
Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
0 < value <= 10000 <= valueResponse Body
application/json
application/json
curl -X GET "http://localhost:3013/api/kv"{
"entries": [
{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}
],
"total": 0,
"namespace": "string"
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Query Parameters
0 < value <= 10000 <= valueResponse Body
application/json
application/json
curl -X GET "http://localhost:3013/api/kv/_/string"{
"entries": [
{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}
],
"total": 0,
"namespace": "string"
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Response Body
application/json
application/json
curl -X DELETE "http://localhost:3013/api/kv/_/string/string"{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/kv/_/string/string"{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:3013/api/kv/_/string/string" \ -H "Content-Type: application/json" \ -d '{}'{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/kv/_/string/string/incr" \ -H "Content-Type: application/json" \ -d '{}'{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Response Body
application/json
application/json
application/json
curl -X DELETE "http://localhost:3013/api/kv/string"{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Response Body
application/json
application/json
application/json
curl -X GET "http://localhost:3013/api/kv/string"{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:3013/api/kv/string" \ -H "Content-Type: application/json" \ -d '{}'{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
^[a-zA-Z0-9._:/%-]{1,512}$1 <= length <= 512Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/kv/string/incr" \ -H "Content-Type: application/json" \ -d '{}'{
"namespace": "string",
"key": "string",
"value": null,
"valueType": "json",
"expiresAt": 0,
"createdAt": 0,
"updatedAt": 0
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}