メインコンテンツへスキップ
GET
/
v3beta1
/
organizations
/
{org_id}
/
schedules
/
{schedule_id}
スケジュールを取得
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"
}

Permissions

組織レベルで ManageOrgSchedules 権限を持つサービスユーザーが必要です。

承認

Authorization
string
header
必須

サービスユーザーの認証情報(接頭辞: cog_)

パスパラメータ

schedule_id
string
必須

レスポンス

成功時のレスポンス

agent
enum<string>
必須
利用可能なオプション:
devin,
data_analyst,
advanced
consecutive_failures
integer
必須
created_at
string<date-time>
必須
created_by
string | null
必須
enabled
boolean
必須
frequency
string
必須
last_error_at
string<date-time> | null
必須
last_error_message
string | null
必須
last_executed_at
string<date-time> | null
必須
name
string
必須
notify_on
enum<string>
必須
利用可能なオプション:
always,
failure,
never
org_id
string
必須
playbook
PlaybookInfo · object
必須
prompt
string
必須
scheduled_session_id
string
必須
updated_at
string<date-time>
必須