新しいセッションを作成します。
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.
ManageOrgSessions 権限が付与されたサービスユーザーが必要です。
| 機能 | 必要な権限 |
|---|---|
create_as_user_id | ImpersonateOrgSessions |
create_as_user_id パラメータを使用すると、別のユーザーに代わってセッションを作成できます。これには以下が必要です:
ImpersonateOrgSessions 権限を持っていることUseDevinSessions 権限を持っていることサービスユーザーの認証情報(接頭辞: cog_)
組織 ID(接頭辞: org-)
"org-abc123def456"
1 - 2083true の場合(デフォルト)、agent は自分のターンが終了する前に is_final=true を指定して provide_structured_output を必ず呼び出す必要があります。false の場合、このツールは利用可能ですが必須ではなく、特定のターンで呼び出される保証はありません。
構造化出力を検証するための JSON Schema(Draft 7)。最大 64KB。自己完結している必要があり(外部 $ref や外部参照は使用できません)。
成功レスポンス
new, claimed, running, exit, error, suspended, resuming 分類が実行されている場合の、セッションに割り当てられたユースケースカテゴリです。get/list エンドポイントでのみ設定されます。
bug_fixing, ci_cd_and_devops, code_quality_and_security, code_review_and_analysis, data_and_automation, documentation_and_content, feature_development, migrations_and_upgrades, other, refactoring_and_optimization, research_and_exploration, unit_test_generation セッションの作成元です。
webapp, slack, teams, api, linear, jira, scheduled, automation, cli, desktop, other セッションの現在のステータスに関する追加情報です。status が 'running' の場合は、'working'(作業中)、'waiting_for_user'(ユーザー入力が必要)、'waiting_for_approval'(セーフモードでアクションの承認待ち)、または 'finished'(タスク完了)です。status が 'suspended' の場合は、'inactivity'、'user_request'、'usage_limit_exceeded'、'out_of_credits'、'out_of_quota'、'no_quota_allocation'、'payment_declined'、'org_usage_limit_exceeded'、'total_session_limit_exceeded'、'error' などの一時停止理由です。get/list エンドポイントでのみ設定されます。
working, waiting_for_user, waiting_for_approval, finished, inactivity, user_request, usage_limit_exceeded, out_of_credits, out_of_quota, no_quota_allocation, payment_declined, org_usage_limit_exceeded, total_session_limit_exceeded, error セッションからの検証済み構造化出力。GET/list エンドポイントでのみ設定されます。
セッションに割り当てられたサブカテゴリの表示名です。カテゴリが設定されていても、サブカテゴリが割り当てられていない、または特定されなかった場合は 'Other' になります。get/list エンドポイントでのみ設定されます。