모델 응답 생성
OpenAI Responses API 호환 엔드포인트입니다. 성공한 비스트리밍 응답은 Responses 객체 형식을 사용하며, stream=true이면 엔드포인트가 Responses SSE 이벤트를 반환합니다. 실패한 Responses 객체는 HTTP 요청 자체가 완료된 경우에도 status=failed와 error={code,message}를 사용할 수 있습니다.
- 유형: stringX
- Felo - Channel 공개 채널 코드를 쉼표로 구분한 순서 있는 목록입니다. 이 헤더를 생략하면 default를 사용하며, default는 단독으로만 사용해야 합니다. 지갑 모드에서 default는 모델의 유효 공개 채널 순서를 역순으로 스캔하고, 게시되지 않았거나 사용할 수 없는 채널을 건너뛰며, 사용 가능한 첫 번째 채널의 공급자를 선택합니다. 동일한 업스트림 모델 ID와 서비스 티어를 가진 해당 공급자의 사용 가능한 엔드포인트도 포함합니다. 명시적 채널은 클라이언트가 지정한 순서로 검증되며, 첫 번째 채널의 공급자 그룹만 제출됩니다. 다른 공급자로의 자동 fallback은 없습니다. 레거시 공급자 헤더로는 채널 라우팅을 재정의할 수 없습니다.
- input필수
Reference a Felo PDF with input_file.file_id or an uploaded image with input_image.file_id in a message content array. The model must be enabled for the attachment type. The combined limit for Felo file references is 50 MB per request. PDF file_url/file_data and image_url (HTTPS or a data URL) use the native format.
- 유형: string
Reference a Felo PDF with input_file.file_id or an uploaded image with input_image.file_id in a message content array. The model must be enabled for the attachment type. The combined limit for Felo file references is 50 MB per request. PDF file_url/file_data and image_url (HTTPS or a data URL) use the native format.
- 유형: stringmodel필수
- 유형: array string[]include
- 유형: stringinstructions
- 유형: integermax
_output _tokens 최솟값:1Integer numbers.
- 유형: objectmetadata
- property유형: anything
Name
- 유형: stringprevious
_response _id - 유형: objectreasoning
- property유형: anything
Name
- 유형: string | nullservice
_tier 현재는 default(표준)만 지원합니다. 생략, null, 별칭 및 지원되지 않는 문자열은 default로 대체되며, 다른 유형은 HTTP 400을 반환합니다. 구성된 채널과 가격은 변경되지 않습니다. 텍스트 API는 공급자의 표준 값을 전송하고, Decisions 및 생성 API는 업스트림 필드를 생략합니다.
- 유형: booleanstore
- 유형: booleanstream
- 유형: numbertemperature최솟값:0
- 유형: anythingproperty
Name
- 유형: objecttext
- property유형: anything
Name
- tool
_choice - 유형: string
- 유형: array object[]tools
- property유형: anything
Name
- 유형: numbertop
_p 최솟값:0최댓값:1 - 유형: anythingproperty
Name
- 유형: object · ResponsesResponse200
응답 객체 또는 스트리밍 응답 이벤트
- 유형: stringid필수
- object상수:response필수
- 유형: string 열거형status필수값
- completed
- failed
- in
_progress - cancelled
- queued
- incomplete
- 유형: object · ResponsesErrorerror
- code유형: string필수
- message유형: string필수
- property유형: anything
Name
- 유형: objectmetadata
- property유형: anything
Name
- 유형: stringmodel
- 유형: array object[]output
- property유형: anything
Name
- 유형: stringoutput
_text - 유형: object · Usageusage
공급자 사용량 객체입니다. 필드는 엔드포인트와 공급자에 따라 다릅니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
- 유형: object · OpenAIErrorResponse400
잘못된 요청, 모델 또는 공급자 매핑
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json - 유형: object · OpenAIErrorResponse401
Felo API 키가 유효하지 않거나 누락되었습니다
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json - 유형: object · OpenAIErrorResponse402
잔액 부족
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json - 유형: object · OpenAIErrorResponse403
계정에 이 모델을 사용할 권한이 없습니다. 비활성화된 모델은 업스트림 호출 전에 거부됩니다. 이미 접수된 요청과 작업은 계속 진행됩니다.
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json - 유형: object · OpenAIErrorResponse429
지출 또는 요청 한도에 도달했습니다
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json - 유형: object · OpenAIErrorResponse502
업스트림 공급자 요청 실패
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json - 유형: object · OpenAIErrorResponse503
공급자 또는 청구 서비스를 사용할 수 없습니다
OpenAI 호환 오류 봉투입니다. Router는 모든 선택적 업스트림 필드 없이 code와 message를 포함할 수 있습니다.
- 유형: objecterror필수
- message유형: string필수
- code유형: string | null
- param유형: string | null
- type유형: string
제공된 경우 OpenAI 호환 오류 유형입니다.
- property유형: anything
Name
- 유형: anythingproperty
Name
application/json
curl https://openapi.felo.ai/api/v1/responses \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"model": "gpt-5.5",
"input": "Explain why the sky is blue in one sentence.",
"stream": false
}'
{
"id": "string",
"object": "response",
"status": "completed",
"output": [
{
"additionalProperty": "anything"
}
],
"output_text": "string",
"error": {
"code": "string",
"message": "string",
"additionalProperty": "anything"
},
"usage": {
"additionalProperty": "anything"
},
"model": "string",
"metadata": {
"additionalProperty": "anything"
},
"additionalProperty": "anything"
}