Skip to main content
FuseFuse
IntegrationsOpenaiActions

Create OpenAI response

Create a non-streaming OpenAI Responses API completion from text input.

Agent markdown

responses.create · OpenAI · v1

Details

Risk
Write
Idempotency
Unsafe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=false, destructive=false, idempotent=false, openWorld=true

Scopes

None

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
modelstringYesminLength 1; maxLength 200
inputstringYesminLength 1; maxLength 32768
instructionsstringNominLength 1; maxLength 16384
max_output_tokensintegerNominimum 1; maximum 8192
temperaturenumberNominimum 0; maximum 2
backgroundbooleanNo
storebooleanNo

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
idstringYesminLength 1; maxLength 200
statusstringYesminLength 1; maxLength 64
output_textstringYesmaxLength 100000
refusedbooleanYes
refusalstringNomaxLength 2000
incomplete_reasonstringNomaxLength 200
modelstringNominLength 1; maxLength 200
usageobjectNoadditionalProperties false
usage.input_tokensintegerNo
usage.output_tokensintegerNo
usage.total_tokensintegerNo
usage.prompt_tokensintegerNo
errorobjectNoadditionalProperties false
error.codestringNomaxLength 200
error.messagestringNomaxLength 2000

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "model": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "input": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32768
    },
    "instructions": {
      "type": "string",
      "minLength": 1,
      "maxLength": 16384
    },
    "max_output_tokens": {
      "type": "integer",
      "minimum": 1,
      "maximum": 8192
    },
    "temperature": {
      "type": "number",
      "minimum": 0,
      "maximum": 2
    },
    "background": {
      "type": "boolean"
    },
    "store": {
      "type": "boolean"
    }
  },
  "required": [
    "model",
    "input"
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "status": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "output_text": {
      "type": "string",
      "maxLength": 100000
    },
    "refused": {
      "type": "boolean"
    },
    "refusal": {
      "type": "string",
      "maxLength": 2000
    },
    "incomplete_reason": {
      "type": "string",
      "maxLength": 200
    },
    "model": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "usage": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "input_tokens": {
          "type": "integer"
        },
        "output_tokens": {
          "type": "integer"
        },
        "total_tokens": {
          "type": "integer"
        },
        "prompt_tokens": {
          "type": "integer"
        }
      }
    },
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 200
        },
        "message": {
          "type": "string",
          "maxLength": 2000
        }
      }
    }
  },
  "required": [
    "id",
    "status",
    "output_text",
    "refused"
  ]
}