University of Amsterdam Responses API

The responses API from University of Amsterdam — 16 operation(s) for responses.

Operations 19

POST /openai/v1/responses Responses Api #
POST /responses Responses Api #
POST /v1/responses Responses Api #
POST /cursor/chat/completions Cursor Chat Completions #
GET /openai/v1/responses/{response_id} Get Response #
DELETE /openai/v1/responses/{response_id} Delete Response #
GET /responses/{response_id} Get Response #
DELETE /responses/{response_id} Delete Response #
GET /v1/responses/{response_id} Get Response #
DELETE /v1/responses/{response_id} Delete Response #
GET /openai/v1/responses/{response_id}/input_items Get Response Input Items #
GET /responses/{response_id}/input_items Get Response Input Items #
GET /v1/responses/{response_id}/input_items Get Response Input Items #
POST /openai/v1/responses/compact Compact Response #
POST /responses/compact Compact Response #
POST /v1/responses/compact Compact Response #
POST /openai/v1/responses/{response_id}/cancel Cancel Response #
POST /responses/{response_id}/cancel Cancel Response #
POST /v1/responses/{response_id}/cancel Cancel Response #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/university-of-amsterdam-responses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-amsterdam-responses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiteLLM Responses API
  description: 'Enterprise Edition


    Proxy Server to call 100+ LLMs in the OpenAI format. **Customize Swagger Docs**


    👉 ```LiteLLM Admin Panel on /ui```. Create, Edit Keys with SSO. Having issues? Try ```Fallback Login```


    💸 ```LiteLLM Model Cost Map```.


    🔎 ```LiteLLM Model Hub```. See available models on the proxy. **Docs**'
  version: 1.95.0
tags:
- name: Responses
paths:
  /openai/v1/responses:
    post:
      tags:
      - Responses
      summary: Responses Api
      description: 'Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses


        Supports background mode with polling_via_cache for partial response retrieval.

        When background=true and polling_via_cache is enabled, returns a polling_id immediately

        and streams the response in the background, updating Redis cache.


        ```bash

        # Normal request

        curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": "Tell me about AI"

        }''


        # Background request with polling

        curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": "Tell me about AI",

        "background": true

        }''

        ```'
      operationId: responses_api_openai_v1_responses_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /responses:
    post:
      tags:
      - Responses
      summary: Responses Api
      description: 'Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses


        Supports background mode with polling_via_cache for partial response retrieval.

        When background=true and polling_via_cache is enabled, returns a polling_id immediately

        and streams the response in the background, updating Redis cache.


        ```bash

        # Normal request

        curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": "Tell me about AI"

        }''


        # Background request with polling

        curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": "Tell me about AI",

        "background": true

        }''

        ```'
      operationId: responses_api_responses_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /v1/responses:
    post:
      tags:
      - Responses
      summary: Responses Api
      description: 'Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses


        Supports background mode with polling_via_cache for partial response retrieval.

        When background=true and polling_via_cache is enabled, returns a polling_id immediately

        and streams the response in the background, updating Redis cache.


        ```bash

        # Normal request

        curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": "Tell me about AI"

        }''


        # Background request with polling

        curl -X POST http://localhost:4000/v1/responses -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": "Tell me about AI",

        "background": true

        }''

        ```'
      operationId: responses_api_v1_responses_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /cursor/chat/completions:
    post:
      tags:
      - Responses
      summary: Cursor Chat Completions
      description: 'Cursor-specific endpoint that accepts Responses API input format but returns chat completions format.


        This endpoint handles requests from Cursor IDE which sends Responses API format (`input` field)

        but expects chat completions format response (`choices`, `messages`, etc.).


        ```bash

        curl -X POST http://localhost:4000/cursor/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": [{"role": "user", "content": "Hello"}]

        }''

        Responds back in chat completions format.

        ```'
      operationId: cursor_chat_completions_cursor_chat_completions_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /openai/v1/responses/{response_id}:
    get:
      tags:
      - Responses
      summary: Get Response
      description: 'Get a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Returns cumulative cached content from background responses

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/get


        ```bash

        # Get polling response

        curl -X GET http://localhost:4000/v1/responses/litellm_poll_abc123 -H "Authorization: Bearer sk-1234"


        # Get provider response

        curl -X GET http://localhost:4000/v1/responses/resp_abc123 -H "Authorization: Bearer sk-1234"

        ```'
      operationId: get_response_openai_v1_responses__response_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Responses
      summary: Delete Response
      description: 'Delete a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Deletes from Redis cache

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/delete


        ```bash

        curl -X DELETE http://localhost:4000/v1/responses/resp_abc123 -H "Authorization: Bearer sk-1234"

        ```'
      operationId: delete_response_openai_v1_responses__response_id__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /responses/{response_id}:
    get:
      tags:
      - Responses
      summary: Get Response
      description: 'Get a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Returns cumulative cached content from background responses

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/get


        ```bash

        # Get polling response

        curl -X GET http://localhost:4000/v1/responses/litellm_poll_abc123 -H "Authorization: Bearer sk-1234"


        # Get provider response

        curl -X GET http://localhost:4000/v1/responses/resp_abc123 -H "Authorization: Bearer sk-1234"

        ```'
      operationId: get_response_responses__response_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Responses
      summary: Delete Response
      description: 'Delete a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Deletes from Redis cache

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/delete


        ```bash

        curl -X DELETE http://localhost:4000/v1/responses/resp_abc123 -H "Authorization: Bearer sk-1234"

        ```'
      operationId: delete_response_responses__response_id__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/responses/{response_id}:
    get:
      tags:
      - Responses
      summary: Get Response
      description: 'Get a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Returns cumulative cached content from background responses

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/get


        ```bash

        # Get polling response

        curl -X GET http://localhost:4000/v1/responses/litellm_poll_abc123 -H "Authorization: Bearer sk-1234"


        # Get provider response

        curl -X GET http://localhost:4000/v1/responses/resp_abc123 -H "Authorization: Bearer sk-1234"

        ```'
      operationId: get_response_v1_responses__response_id__get
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Responses
      summary: Delete Response
      description: 'Delete a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Deletes from Redis cache

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/delete


        ```bash

        curl -X DELETE http://localhost:4000/v1/responses/resp_abc123 -H "Authorization: Bearer sk-1234"

        ```'
      operationId: delete_response_v1_responses__response_id__delete
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /openai/v1/responses/{response_id}/input_items:
    get:
      tags:
      - Responses
      summary: Get Response Input Items
      description: List input items for a response.
      operationId: get_response_input_items_openai_v1_responses__response_id__input_items_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /responses/{response_id}/input_items:
    get:
      tags:
      - Responses
      summary: Get Response Input Items
      description: List input items for a response.
      operationId: get_response_input_items_responses__response_id__input_items_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/responses/{response_id}/input_items:
    get:
      tags:
      - Responses
      summary: Get Response Input Items
      description: List input items for a response.
      operationId: get_response_input_items_v1_responses__response_id__input_items_get
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /openai/v1/responses/compact:
    post:
      tags:
      - Responses
      summary: Compact Response
      description: 'Compact a response by running a compaction pass over a conversation.


        Returns encrypted, opaque items that can be used to reduce context size.


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/compact


        ```bash

        curl -X POST http://localhost:4000/v1/responses/compact -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": [{"role": "user", "content": "Hello"}]

        }''

        ```'
      operationId: compact_response_openai_v1_responses_compact_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /responses/compact:
    post:
      tags:
      - Responses
      summary: Compact Response
      description: 'Compact a response by running a compaction pass over a conversation.


        Returns encrypted, opaque items that can be used to reduce context size.


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/compact


        ```bash

        curl -X POST http://localhost:4000/v1/responses/compact -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": [{"role": "user", "content": "Hello"}]

        }''

        ```'
      operationId: compact_response_responses_compact_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /v1/responses/compact:
    post:
      tags:
      - Responses
      summary: Compact Response
      description: 'Compact a response by running a compaction pass over a conversation.


        Returns encrypted, opaque items that can be used to reduce context size.


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/compact


        ```bash

        curl -X POST http://localhost:4000/v1/responses/compact -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d ''{

        "model": "gpt-4o",

        "input": [{"role": "user", "content": "Hello"}]

        }''

        ```'
      operationId: compact_response_v1_responses_compact_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyHeader: []
  /openai/v1/responses/{response_id}/cancel:
    post:
      tags:
      - Responses
      summary: Cancel Response
      description: 'Cancel a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Cancels background response and updates status in Redis

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/cancel


        ```bash

        # Cancel polling response

        curl -X POST http://localhost:4000/v1/responses/litellm_poll_abc123/cancel -H "Authorization: Bearer sk-1234"


        # Cancel provider response

        curl -X POST http://localhost:4000/v1/responses/resp_abc123/cancel -H "Authorization: Bearer sk-1234"

        ```'
      operationId: cancel_response_openai_v1_responses__response_id__cancel_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /responses/{response_id}/cancel:
    post:
      tags:
      - Responses
      summary: Cancel Response
      description: 'Cancel a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Cancels background response and updates status in Redis

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/cancel


        ```bash

        # Cancel polling response

        curl -X POST http://localhost:4000/v1/responses/litellm_poll_abc123/cancel -H "Authorization: Bearer sk-1234"


        # Cancel provider response

        curl -X POST http://localhost:4000/v1/responses/resp_abc123/cancel -H "Authorization: Bearer sk-1234"

        ```'
      operationId: cancel_response_responses__response_id__cancel_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/responses/{response_id}/cancel:
    post:
      tags:
      - Responses
      summary: Cancel Response
      description: 'Cancel a response by ID.


        Supports both:

        - Polling IDs (litellm_poll_*): Cancels background response and updates status in Redis

        - Provider response IDs: Passes through to provider API


        Follows the OpenAI Responses API spec: https://platform.openai.com/docs/api-reference/responses/cancel


        ```bash

        # Cancel polling response

        curl -X POST http://localhost:4000/v1/responses/litellm_poll_abc123/cancel -H "Authorization: Bearer sk-1234"


        # Cancel provider response

        curl -X POST http://localhost:4000/v1/responses/resp_abc123/cancel -H "Authorization: Bearer sk-1234"

        ```'
      operationId: cancel_response_v1_responses__response_id__cancel_post
      security:
      - APIKeyHeader: []
      parameters:
      - name: response_id
        in: path
        required: true
        schema:
          type: string
          title: Response Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      description: Bearer token
      in: header
      name: x-litellm-api-key