---
title: Api keys
full: true
_openapi:
  toc:
    - depth: 2
      title: '`GET /v1/api-keys` - list workspace runtime API keys.'
      url: '#get-v1api-keys---list-workspace-runtime-api-keys'
    - depth: 2
      title: '`POST /v1/api-keys` - create a workspace runtime API key.'
      url: '#post-v1api-keys---create-a-workspace-runtime-api-key'
    - depth: 2
      title: '`PATCH /v1/api-keys/batch/revoke` - revoke workspace runtime API keys.'
      url: '#patch-v1api-keysbatchrevoke---revoke-workspace-runtime-api-keys'
  structuredData:
    headings:
      - content: '`GET /v1/api-keys` - list workspace runtime API keys.'
        id: get-v1api-keys---list-workspace-runtime-api-keys
      - content: '`POST /v1/api-keys` - create a workspace runtime API key.'
        id: post-v1api-keys---create-a-workspace-runtime-api-key
      - content: '`PATCH /v1/api-keys/batch/revoke` - revoke workspace runtime API keys.'
        id: patch-v1api-keysbatchrevoke---revoke-workspace-runtime-api-keys
    contents: []
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

<APIPage document={"../../docs/openapi.yaml"} webhooks={[]} operations={[{"path":"/v1/api-keys","method":"get"},{"path":"/v1/api-keys","method":"post"},{"path":"/v1/api-keys/batch/revoke","method":"patch"}]} showTitle showDescription />