Decisions

Create a decision

Changed on

Use this endpoint to quickly answer classification or scoring questions about some input. You can ask multiple questions in one request.

post/decisions

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/decisions
  • Auth
    HTTP bearer

Request body

modelstring required

The model to use. Only gpt-6-luna is supported.

safety_identifierstring nullable

Opaque caller-provided end-user identifier, scoped by the verified org. Match Responses' limit; this is never the authenticated user identity.

prompt_cache_keystring nullable

Partition prompt cache reuse by caller-provided key.

Response

The answers and token usage.

modelstring required

The model used.

Changes

    • warning

      removed the request property ///////

    • warning

      removed the request property ///////

    • warning

      removed the request property ///////

    • warning

      removed the request property ///////

    • info

      added discriminator to ////// request property

    • info

      request property ////// list-of-types was widened by adding types array to media type application/json

    • info

      request property ////// list-of-types was widened by adding types array to media type application/json

    • info

      request property ////// list-of-types was widened by adding types array to media type application/json

    • info

      added to the ////// request property oneOf list

    • info

      added the new optional request property ///////

    • info

      the request property default value user was removed

    • info

      added function_call function_call_output custom_tool_call custom_tool_call_output discriminator mapping keys to the // request property

    • info

      added output_text refusal discriminator mapping keys to the ///////// request property

    • info

      added the new assistant enum value to the request property ///////

    • info

      added the new developer enum value to the request property ///////

    • info

      added the new system enum value to the request property ///////

    • info

      added to the // request property oneOf list

    • info

      added to the ///////// request property oneOf list