Read a team's members, application keys and budget shares
const url = 'https://gpu-kitchen.example.lan/api/v1/teams/example';const options = {method: 'GET', headers: {cookie: 'gpuk_session=<gpuk_session>'}};
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://gpu-kitchen.example.lan/api/v1/teams/example \ --cookie gpuk_session=<gpuk_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Success.
object
object
object
object
object
object
Example
{ "team": { "kind": "standard", "budget_status": { "status": "within", "ceiling": { "kind": "personal" } }, "privilege_range": "background" }, "members": [ { "role": "super_admin", "status": "active", "privilege_range": "background", "personal_budget": { "source": "own" }, "budget_status": { "status": "within", "ceiling": { "kind": "personal" } } } ], "app_keys": [ { "privilege_range": "background", "budget_status": { "status": "within", "ceiling": { "kind": "personal" } } } ], "budget_shares": [ { "subject_type": "member", "budget_status": { "status": "within", "ceiling": { "kind": "personal" } } } ]}Error codes: validation_error.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: auth_required.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: forbidden.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: team_not_found.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: rate_limited.
object
object
Stable snake_case code to branch on.
A sentence to show a person.
Optional structured context.
Optional place where the problem is fixed.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}