コンテンツへスキップ
Profiles

プロファイルversionを作成

POST/api/v1alpha1/profiles/{profile_id}/versions

immutableなversionを追加します。profileは最大100個のversionを持てます。archivedまたはanonymousのprofileはconflictで拒否します。

認証

apiKey
認証Bearer <token>

場所: header

パスパラメーター

profile_id*string

このワークスペースのanalysis profileの識別子です。

ヘッダーパラメーター

Idempotency-Key?string

このPOSTを安全にretryするための任意のkeyです。keyは24時間保持され、request payloadと具体的なpath parameterと比較されます。

長さlength <= 255

リクエストボディ

application/json

TypeScript 型定義

TypeScript では request body 型を使用します。

レスポンスボディ

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/v1alpha1/profiles/prof_0190b5d4-7e1f-7a2b-9c3d-1234567890ab/versions" \  -H "Authorization: Bearer $DEEPFRAME_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "answer_specs": [      {        "aggregation_level": "video",        "answer_key": "",        "answer_type": "timeline",        "coverage": "complete",        "evidence": {          "accepted_types": [            "clip"          ],          "per_field": true,          "required": true        },        "fields": [          {            "description": "",            "key": "",            "label": "",            "required": true,            "type": "string"          }        ],        "temporal_granularity": "semantic_segment",        "temporal_scope": "windowed"      }    ],    "instructions": ""  }'
{  "answer_specs": [    {      "aggregation_level": "video",      "answer_key": "",      "answer_type": "timeline",      "coverage": "complete",      "evidence": {        "accepted_types": [          "clip"        ],        "per_field": true,        "required": true      },      "fields": [        {          "description": "",          "key": "",          "label": "",          "required": true,          "type": "string"        }      ],      "temporal_granularity": "semantic_segment",      "temporal_scope": "windowed"    }  ],  "created_at": "2026-08-22T10:00:00.000Z",  "created_by": "user_0190b5d4-7e1f-7a2b-9c3d-1234567890ab",  "instructions": "",  "profile_id": "prof_0190b5d4-7e1f-7a2b-9c3d-1234567890ab",  "version": 1}