GET
/v1/files/{file_id}ファイルを取得
ファイルのメタデータ。バッチの結果はpurpose: batch_outputのファイルです。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
file_idstring必須ファイルID。
レスポンス
200ファイル。
レスポンス
idstringobjectstringbytesintegercreated_atintegerfilenamestringpurposeenum
401キーがないか、形式が不正か、期限切れか、取り消されています。
レスポンス
errorobjecterror
messagestring問題の内容と解決方法。
typestring例:
invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。codestring安定したエラーコード。
paramstring | null該当する場合、問題のあるリクエストフィールド。
refusal_reasonenumcode: refusalの場合にのみ含まれます。
404このキーではリソースが見つかりません。
レスポンス
errorobjecterror
messagestring問題の内容と解決方法。
typestring例:
invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。codestring安定したエラーコード。
paramstring | null該当する場合、問題のあるリクエストフィールド。
refusal_reasonenumcode: refusalの場合にのみ含まれます。
リクエスト
curl 'https://api.experientiallabs.ai/v1/files/file_3f9a1c0e7b2d4a6f8e1c2b3d' \
-H "Authorization: Bearer <YOUR_API_KEY>"レスポンス
{
"id": "file_7b1d9e3a5c2f4086b4a1e9c7",
"object": "file",
"bytes": 1893,
"created_at": 1795136400,
"filename": "batch_9c2e4b7a1f0d3e6c5b8a2d4f_output.jsonl",
"purpose": "batch_output"
}https://api.experientiallabs.ai/v1/files/file_3f9a1c0e7b2d4a6f8e1c2b3d