List the workspace's config entries
const url = 'https://example.com/v1/tenant/config?limit=25&kind=env';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/tenant/config?limit=25&kind=env' \ --header 'Authorization: Bearer <token>'Cursor-paginated: the env entries (in the env binding order), then the config entries when they live apart from them, then the secret entries (in the secrets binding order); a page holds at most limit entries and nextCursor resumes where it ended. Optional ?kind= narrows to one slot (env / config / secret); ?keyPrefix= matches on entry key. env and secret entries are the ones under the env the runtime serves (servedEnv in whoami), where its tools read them; config entries, the workspace settings, are under default whatever it serves. On a runtime that serves none, all of them are under default. Secret values are ALWAYS redacted on this admin surface — the dispatch path is the only reader that receives raw material.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Page of workspace config entries.
object
Example
{ "data": [ { "kind": "env" } ]}Malformed query parameter.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Missing / malformed / expired / revoked bearer token.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}rate-limit-exceeded with details.limit: "api-requests", on a runtime that sets workspace limits (Kindgi Cloud): this workspace’s limit on API requests a minute is reached, so the request wasn’t run; Retry-After says when to send it again.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Headers
Section titled “Headers”The database was too busy to answer in time (database-busy), or the authorization store couldn’t be reached (authz-backend-unavailable); Retry-After (whole seconds) says when to try again.
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}