Create a context
Create a new context with the specified type, id, and data. Returns 409 if context already exists. type and id are required fields, data is optional, if the context already exists, it returns the 409 response
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/jsonRequiredtypeRequiredstringContext type (e.g., tenant, app, workspace). Must be lowercase alphanumeric with optional separators.
Minimum length:
1Maximum length: 100Pattern: "^[a-zA-Z0-9_-]+$"idRequiredstringUnique identifier for this context. Must be lowercase alphanumeric with optional separators.
Minimum length:
1Maximum length: 100Pattern: "^[a-zA-Z0-9_-]+$"dataobjectOptional custom data to associate with this context.
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
Created
typeRequiredstringidRequiredstringdataRequiredobjectcreatedAtRequiredstringupdatedAtRequiredstring