リファレンスHTTP APIAgents

The agents the caller administers

GET
/v1/administered-agents

Directly or through a team, as of this request: what an agent's admin needs to issue that agent's own key.

Auth: cookie session only; no scope.

Authorization

cookieSession
cookie__Host-werft_session<token>

For the web console: the browser session cookie set by POST /v1/auth/login. It holds the scopes of the user's workspace role (owner: all; admin and member: all but sessions:recover). Requests other than GET must also send X-Requested-With: werft-web.

Response Body

Success

application/json
  1. response
items*array<>
Itemsitems <= 200
Example Request
curl -X GET 'https://example.com/v1/administered-agents'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9",      "slug": "string",      "name": "string",      "description": "string",      "managing_team_id": "911b0313-617e-40f5-9150-864225bf0223",      "managing_team_name": "string",      "status": "active",      "active_release_id": "string",      "activation_revision": -1,      "auto_model_migration": true,      "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ]}