API Reference

Retrieve Context

Retrieves a context from the given workspace.

Expands
versions Retrieves all versions of the context.
Endpoint
GET https://api.zatomic.ai/v1/contexts/{contextId}

// Examples
GET https://api.zatomic.ai/v1/contexts/ctx_2qRzu8geIvfudcJTwP0pur4TbMJ
GET https://api.zatomic.ai/v1/contexts/ctx_2qRzu8geIvfudcJTwP0pur4TbMJ?expand=versions

Endpoint Response

A successful call returns a response that contains the context object.

HTTP Status Codes
200 OK The context was retrieved.
404 Not Found The context didn't exist.
500 Internal Server Error Something went wrong on Zatomic's end.