api-keys

Create team API key

Changed on

Create a new team API key

post/api-keys

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/api-keys
  • Auth
    HTTP bearer and API key in header X-Team-ID

Request body

namestring required

Name of the API key

Response

Team API key created successfully

idstring uuid required

Identifier of the API key

keystring required

Raw value of the API key

namestring required

Name of the API key

createdAtstring date-time required

Timestamp of API key creation

lastUsedstring date-time nullable

Last time this API key was used

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status