リファレンスHTTP APIAdmin
Every session of the workspace, metadata only
GET
Owners and admins. Who made each session, its agent release, state and share scope, newest first; no content, title or summary.
Auth: cookie session only; no scope.
cookieSessioncookie
__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.
Success
application/json- response
items*array<>Items
items <= 200curl -X GET 'https://example.com/v1/admin/sessions'Example Response
{ "items": [ { "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82", "created_by_user_id": "209f54c4-4c33-43bc-9c6a-ef4c65ad7473", "created_by_api_key_id": "16a8c1ea-aaaf-49f0-9266-c657c48ceff3", "agent_release_id": "string", "status": "queued", "admission_state": "active", "share_scope": "private", "created_at": "2019-08-24T14:15:22Z", "takeover_required_at": "2019-08-24T14:15:22Z" } ]}