Shared response envelopes and base objects used across multiple Cloud Agents API resources.
Metadata object
metadata is a flat string key-value object defined by the caller.
|
Rule |
Description |
|
Shape |
JSON object; all values must be strings |
|
Maximum key count |
16 |
|
Maximum key length |
64 Unicode characters |
|
Maximum value length |
512 Unicode characters |
|
Default |
|
Example:
{
"team": "docs",
"project": "cloud-agents"
}
Paginated list
List endpoints return a unified cursor-based pagination envelope.
|
Field |
Type |
Description |
|
|
|
array |
Array of resource objects on the current page |
|
|
|
boolean |
Whether more data is available |
|
|
|
string | null |
Cursor ID of the first record on the current page; |
|
|
|
string | null |
Cursor ID of the last record on the current page; |
Error envelope
Error responses use the following structure:
{
"type": "error",
"request_id": "cb80235f-76a2-4ff3-9e28-5aa2da12dc14",
"error": {
"type": "invalid_request_error",
"message": "Field 'name' is required."
}
}
|
Field |
Type |
Description |
|
|
string |
Always |
|
|
string |
Error category, such as |
|
|
string |
Human-readable error message |
Timestamps
Time fields are UTC ISO 8601 / RFC 3339 strings, for example "2026-05-18T15:26:39.61669Z". Some fields may be null; refer to the specific resource schema for details.
ID prefixes
|
Resource |
Prefix |
|
Agent |
|
|
Environment |
|
|
Session |
|
|
Session event |
|
|
Session thread |
|
|
Turn |
|
|
File |
|
|
Vault |
|
|
Vault credential |
|
|
Skill |
|
|
Memory store |
|
|
Memory entry |
|
|
Memory version |
|
|
Forward template |
|
|
Forward identity |
|
|
Forward identity config |
|
|
Forward channel |
|
|
Forward QR session |
|
|
Forward schedule |
|
|
Forward schedule run |
|
|
Work item |
|
|
Forward resource |
Reuses the registered resource's own ID prefix |