v34

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-215423105.7 KB

Create a Context

post/v1/contexts

Request body

projectIdstring

The Project ID. Can be found in Settings. Optional - if not provided, the project will be inferred from the API key.

Response

The request has succeeded and a new resource has been created as a result.

idstring required
uploadUrlstring required

An upload URL to upload a custom user-data-directory.

publicKeystring required

The public key to encrypt the user-data-directory.

cipherAlgorithmstring required

The cipher algorithm used to encrypt the user-data-directory. AES-256-CBC is currently the only supported algorithm.

initializationVectorSizeinteger required

The initialization vector size used to encrypt the user-data-directory. Read more about how to use it.