v52

OpenAPI 3.0.3raw.githubusercontent.com2026-08-04170260320.4 KB

GetDeploymentCredentials returns runtime info and access token on behalf of a specific user, or alternatively for a raw set of JWT attributes DEPRECATED: Clients should call GetDeployment instead.

post/v1/orgs/{org}/projects/{project}/credentials

Path parameters

orgstring required

Org the deployment belongs to.

projectstring required

Project the deployment belongs to.

Request body

attributesobject

If set, will use the provided attributes outright.

branchstring

Optional branch for the deployment. If not set, defaults to the project's primary branch.

externalUserIdstring

Optional ID for an external end user of the deployment. If set, the access token enables per-user state, such as AI chat history. Cannot be combined with user_id. If user_email matches a Rill Cloud user, their attributes are used, but this ID takes precedence for per-user state.

superuserForceAccessboolean

If true, superusers can access the deployment even without org/project membership.

ttlSecondsinteger

Optional TTL for the returned access token in seconds.

userEmailstring

If set, will generate attributes corresponding to a user with this email.

userIdstring

If set, will use the attributes of the Rill user with this ID.

Response

A successful response.

accessTokenstring
instanceIdstring
runtimeHoststring
ttlSecondsinteger