Cohere Check Api Key API

The Check Api Key API from Cohere — 1 operation(s) for check api key.

Operations 1

POST /v1/check-api-key Check API key #

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/cohere:cohere-check-api-key-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

cohere-check-api-key-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cohere Check Api Key API
  version: 1.0.0
servers:
- url: https://api.cohere.com
  description: production
tags:
- name: Check Api Key
paths:
  /v1/check-api-key:
    post:
      operationId: checkAPIKey
      summary: Check API key
      description: Checks that the api key in the Authorization header is valid and active
      parameters:
      - name: X-Client-Name
        in: header
        description: 'The name of the project that is making the request.

          '
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/checkAPIKey_Response_200'
        '400':
          description: "This error is returned when the request is not well formed. This could be because:\n  - JSON is invalid\n  - The request is missing required fields\n  - The request contains an invalid combination of fields\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestBadRequestError'
        '401':
          description: "This error indicates that the operation attempted to be performed is not allowed. This could be because:\n  - The api token is invalid\n  - The user does not have the necessary permissions\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestUnauthorizedError'
        '403':
          description: "This error indicates that the operation attempted to be performed is not allowed. This could be because:\n  - The api token is invalid\n  - The user does not have the necessary permissions\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestForbiddenError'
        '404':
          description: "This error is returned when a resource is not found. This could be because:\n  - The endpoint does not exist\n  - The resource does not exist eg model id, dataset id\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestNotFoundError'
        '422':
          description: "This error is returned when the request is not well formed. This could be because:\n  - JSON is invalid\n  - The request is missing required fields\n  - The request contains an invalid combination of fields\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestUnprocessableEntityError'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestTooManyRequestsError'
        '498':
          description: 'This error is returned when a request or response contains a deny-listed token.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestInvalidTokenError'
        '499':
          description: 'This error is returned when a request is cancelled by the user.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestClientClosedRequestError'
        '500':
          description: 'This error is returned when an uncategorised internal server error occurs.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestInternalServerError'
        '501':
          description: 'This error is returned when the requested feature is not implemented.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestNotImplementedError'
        '503':
          description: "This error is returned when the service is unavailable. This could be due to:\n  - Too many users trying to access the service at the same time\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestServiceUnavailableError'
        '504':
          description: "This error is returned when a request to the server times out. This could be due to:\n  - An internal services taking too long to respond\n"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckAPIKeyRequestGatewayTimeoutError'
      security:
      - bearerAuth: []
      tags:
      - Check Api Key
components:
  schemas:
    CheckAPIKeyRequestGatewayTimeoutError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestGatewayTimeoutError
    CheckAPIKeyRequestClientClosedRequestError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestClientClosedRequestError
    CheckAPIKeyRequestNotImplementedError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestNotImplementedError
    CheckAPIKeyRequestUnprocessableEntityError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestUnprocessableEntityError
    CheckAPIKeyRequestNotFoundError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestNotFoundError
    CheckAPIKeyRequestBadRequestError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestBadRequestError
    CheckAPIKeyRequestUnauthorizedError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestUnauthorizedError
    CheckAPIKeyRequestTooManyRequestsError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestTooManyRequestsError
    CheckAPIKeyRequestServiceUnavailableError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestServiceUnavailableError
    CheckAPIKeyRequestInternalServerError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestInternalServerError
    checkAPIKey_Response_200:
      type: object
      properties:
        valid:
          type: boolean
        organization_id:
          type: string
        owner_id:
          type: string
      required:
      - valid
      title: checkAPIKey_Response_200
    CheckAPIKeyRequestForbiddenError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestForbiddenError
    CheckAPIKeyRequestInvalidTokenError:
      type: object
      properties:
        message:
          type: string
        id:
          type: string
      title: CheckAPIKeyRequestInvalidTokenError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer