Skip to main content
This page defines cross-resource structures used by multiple API groups. Resource-specific structures are documented in each resource directory’s data-structures page.

Metadata object

metadata is a flat object for caller-defined string attributes.
RuleDescription
ShapeJSON object whose values are strings
Maximum keys16
Maximum key length64 Unicode characters
Maximum value length512 Unicode characters
Default{} when omitted
Example:
{
  "team": "docs",
  "project": "cloud-agents"
}

Paginated list

List endpoints return a cursor pagination envelope.
FieldTypeDescription
dataarrayResource objects on the current page
has_morebooleanWhether more records are available
first_idstring | nullCursor ID of the first returned item, or null when data is empty
last_idstring | nullCursor ID of the last returned item, or null when data is empty

Error envelope

Error responses use this envelope:
{
  "type": "error",
  "error": {
    "type": "invalid_request_error",
    "message": "Field 'name' is required."
  }
}
FieldTypeDescription
typestringAlways "error"
error.typestringError category, such as invalid_request_error, authentication_error, permission_error, not_found_error, conflict_error, or api_error
error.messagestringHuman-readable error message

Timestamp

Timestamps are ISO 8601 / RFC 3339 strings in UTC, for example "2026-05-18T15:26:39.61669Z". Some fields are nullable; each resource schema calls that out explicitly.

ID prefixes

ResourcePrefix
Agentagent_
Environmentenv_
Sessionsess_
Session eventevt_
Turnturn_
Filefile_
Vaultvault_
Vault credentialvcred_
Skillskill_
Memory storememstore_
Memory entrymem_
Memory versionmemver_

Overview

How Qoder Cloud Agents fits together.