List Instances
Retrieve a paginated list of instances belonging to a client.Query Parameters
The client ID to list instances for. Format:
cli_<hex16>.Page number. Defaults to
1.Items per page. Defaults to
20, maximum 100.Response
Array of instance summary objects.
Current page number.
Items per page.
Total number of instances.
Total number of pages.
Example
Response
Get Instance
Retrieve detailed information about a specific instance.Path Parameters
The instance ID. Format:
inst_<hex16>.Response
Unique instance identifier.
Human-readable instance name.
Current status:
active, provisioning, suspended, archived.The type of AI agent this instance serves.
Memory architecture configuration status.
The client this instance belongs to.
Optional description of the instance’s purpose.
Arbitrary key-value metadata attached to the instance.
Number of API calls made by this instance in the last 24 hours.
Total number of memories stored in this instance.
ISO 8601 creation timestamp.
ISO 8601 timestamp of last activity.
null if never used.Example
Response
Create Instance
Create a new Synap instance for a client.Query Parameters
The client ID to create the instance under. Format:
cli_<hex16>.Request Body
A human-readable name for the instance. Must be unique within the client.
The type of AI agent this instance will serve. Examples:
chatbot, support-agent, copilot, analyst.Optional description of the instance’s purpose.
Arbitrary key-value pairs for organizing instances. Values must be strings.
Response
Returns the fullInstanceDetail object with status 201 Created.
Example
Response (201 Created)
Newly created instances start in the
provisioning status. They transition to active once their memory architecture is initialized via the Configuration API.Update Instance
Update an existing instance’s name, description, or metadata.Path Parameters
The instance ID to update. Format:
inst_<hex16>.Request Body
All fields are optional. Only provided fields are updated.New name for the instance.
New description.
Updated metadata. This performs a merge with existing metadata. To remove a key, set its value to
null.Response
Returns the updatedInstanceDetail object.
Example
Response
Generate Bootstrap Key
Generate a one-time bootstrap key for an instance. The bootstrap key is a legacy credential. For new integrations, use the API key endpoints instead.Path Parameters
The instance ID to generate a bootstrap key for.
Response
The bootstrap key value. This is shown only once. Store it securely. Format:
bsk_<base64>.Unique identifier for this bootstrap key, used for revocation and auditing.
ISO 8601 timestamp when the bootstrap key expires. Keys are valid for 24 hours.
Example
Response (201 Created)
secrets.token_urlsafe(32) value. Synap stores only the SHA-256 hash of the key. A backup copy is stored in KMS for disaster recovery.
Revoke Bootstrap Key
Revoke an active bootstrap key for an instance. Revoked keys can no longer be used to bootstrap SDK connections.Path Parameters
The instance ID whose bootstrap key should be revoked.
Response
Whether the revocation was successful.
Human-readable result message.
Example
Response
Revoking a bootstrap key immediately prevents new SDK connections using that key.
Generate API Key
Generate a new API key for an instance. The key is shown once and cannot be retrieved again. Multiple keys can coexist per instance (one per environment, team, etc.).Path Parameters
The instance ID to generate an API key for.
Request Body
A human-readable label to identify this key (e.g., “production”, “staging”). Defaults to
"default".Response
The API key value. Shown only once. Format:
synap_<random>. Store it in your secret manager immediately.Unique identifier for this key, used for listing and revocation.
The label assigned to this key.
ISO 8601 timestamp of key creation.
Example
Response (201 Created)
List API Keys
List all active API keys for an instance. Key values are masked — only the label, ID, and creation time are returned.Path Parameters
The instance ID to list API keys for.
Response
Returns an array of API key info objects.Unique identifier for the key.
The label assigned to this key.
Partially masked key value for identification (e.g.,
synap_k2m9...t3).ISO 8601 timestamp of key creation.
Example
Response (200 OK)
Revoke API Key
Revoke a specific API key by its credential ID. The key is immediately invalidated.Path Parameters
The instance ID.
The credential ID of the key to revoke (from List API Keys).
Response
Whether the revocation was successful.
Human-readable result message.
Example
Response (200 OK)