OrganizationsOrganization settings
List worker credentials
GET
Whether the organization's jobs run only on its own workers, the credentials those workers claim with (revoked ones too, newest first), and the job types one may be limited to.
Who may call it: An owner or security admin of the organization. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
slug*stringThe organization's slug, as in its URL.
OK.
application/json- response
ownWorkersOnly*booleanThe organization's jobs run only on its own workers: the platform's never take one, even while none of its own is running. Off, its workers and the platform's share them.
credentials*array<>jobTypes*array<string>Example Request
curl -X GET 'http://localhost:3000/api/organizations/string/workers'Example Response
{ "ownWorkersOnly": true, "credentials": [ { "id": "string", "name": "string", "types": [ "string" ], "start": "string", "createdAt": "2019-08-24T14:15:22Z", "lastUsedAt": "2019-08-24T14:15:22Z", "revokedAt": "2019-08-24T14:15:22Z" } ], "jobTypes": [ "string" ]}