Zum Hauptinhalt springen
GET
/
v3
/
organizations
/
{org_id}
/
sessions
Sessions auflisten
curl --request GET \
  --url https://api.devin.ai/v3/organizations/{org_id}/sessions \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "acus_consumed": 123,
      "created_at": 123,
      "org_id": "<string>",
      "pull_requests": [
        {
          "pr_state": "<string>",
          "pr_url": "<string>"
        }
      ],
      "session_id": "<string>",
      "status": "new",
      "tags": [
        "<string>"
      ],
      "updated_at": 123,
      "url": "<string>",
      "category": "bug_fixing",
      "child_session_ids": [
        "<string>"
      ],
      "is_archived": false,
      "origin": "webapp",
      "parent_session_id": "<string>",
      "playbook_id": "<string>",
      "service_user_id": "<string>",
      "status_detail": "working",
      "structured_output": {},
      "subcategory": "<string>",
      "title": "<string>",
      "user_id": "<string>"
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

Berechtigungen

Erfordert einen Servicebenutzer mit der Berechtigung ViewOrgSessions auf Organisationsebene.

Autorisierungen

Authorization
string
header
erforderlich

Servicebenutzer-Anmeldedaten (Präfix: cog_)

Pfadparameter

org_id
string | null
erforderlich

Organisations-ID (Präfix: org-)

Beispiel:

"org-abc123def456"

Abfrageparameter

qs
SessionsQueryParams · object
erforderlich
devin_id
string | null

Antwort

Erfolgreiche Antwort

items
SessionResponse · object[]
erforderlich
end_cursor
string | null

Cursor zum Abrufen der nächsten Seite oder None, falls dies die letzte Seite ist.

has_next_page
boolean
Standard:false

Gibt an, ob nach dieser Seite weitere Einträge verfügbar sind.

total
integer | null

Optionale Gesamtanzahl (kann aus Performancegründen ausgelassen werden).