Zum Hauptinhalt springen
GET
/
v3beta1
/
organizations
/
{org_id}
/
schedules
/
{schedule_id}
Zeitplan abrufen
curl --request GET \
  --url https://api.devin.ai/v3beta1/organizations/{org_id}/schedules/{schedule_id} \
  --header 'Authorization: Bearer <token>'
{
  "agent": "devin",
  "consecutive_failures": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "enabled": true,
  "frequency": "<string>",
  "last_error_at": "2023-11-07T05:31:56Z",
  "last_error_message": "<string>",
  "last_executed_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "notify_on": "always",
  "org_id": "<string>",
  "playbook": {
    "playbook_id": "<string>",
    "title": "<string>"
  },
  "prompt": "<string>",
  "scheduled_session_id": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

Berechtigungen

Erfordert einen Servicebenutzer mit der Berechtigung ManageOrgSchedules auf Organisationsebene.

Autorisierungen

Authorization
string
header
erforderlich

Servicebenutzer-Anmeldedaten (Präfix: cog_)

Pfadparameter

schedule_id
string
erforderlich

Antwort

Erfolgreiche Antwort

agent
enum<string>
erforderlich
Verfügbare Optionen:
devin,
data_analyst,
advanced
consecutive_failures
integer
erforderlich
created_at
string<date-time>
erforderlich
created_by
string | null
erforderlich
enabled
boolean
erforderlich
frequency
string
erforderlich
last_error_at
string<date-time> | null
erforderlich
last_error_message
string | null
erforderlich
last_executed_at
string<date-time> | null
erforderlich
name
string
erforderlich
notify_on
enum<string>
erforderlich
Verfügbare Optionen:
always,
failure,
never
org_id
string
erforderlich
playbook
PlaybookInfo · object
erforderlich
prompt
string
erforderlich
scheduled_session_id
string
erforderlich
updated_at
string<date-time>
erforderlich