> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myme.so/llms.txt
> Use this file to discover all available pages before exploring further.

# List API keys

> Returns every API key in the caller's tenant. Hashes are returned in lieu of plaintext — the plaintext is only ever returned at creation time. `last_used_at` is debounced to at most one write per hour per key; treat it as a coarse activity signal, not an audit log. Admin or tenant_admin only.



## OpenAPI

````yaml /openapi.json get /keys
openapi: 3.1.0
info:
  title: Marfa API
  version: 4.2.0
  description: Typed data layer for structured personal data
servers: []
security: []
paths:
  /keys:
    get:
      tags:
        - Keys
      summary: List API keys
      description: >-
        Returns every API key in the caller's tenant. Hashes are returned in
        lieu of plaintext — the plaintext is only ever returned at creation
        time. `last_used_at` is debounced to at most one write per hour per key;
        treat it as a coarse activity signal, not an audit log. Admin or
        tenant_admin only.
      responses:
        '200':
          description: List of API keys
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        label:
                          type: string
                        source:
                          type: string
                        role:
                          type: string
                        default_tier:
                          type: string
                          enum:
                            - library
                            - feed
                        is_platform:
                          type: boolean
                        type_permissions:
                          type: object
                          additionalProperties:
                            type: string
                            enum:
                              - read
                              - write
                              - none
                        extension_permissions:
                          type: object
                          additionalProperties:
                            type: string
                            enum:
                              - read
                              - write
                        edge_permissions:
                          type: object
                          additionalProperties:
                            type: string
                            enum:
                              - read
                              - write
                        metadata_permissions:
                          type: object
                          additionalProperties:
                            type: string
                            enum:
                              - read
                              - write
                        created_at:
                          type: string
                        last_used_at:
                          type: string
                          nullable: true
                      required:
                        - id
                        - label
                        - source
                        - role
                        - default_tier
                        - is_platform
                        - type_permissions
                        - created_at
                        - last_used_at
                required:
                  - keys
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                        enum:
                          - unauthorized
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties:
                          nullable: true
                    required:
                      - code
                      - message
                required:
                  - error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or OAuth Token
      description: Pass an API key (marfa_k1_...) or OAuth access token (marfa_at_...)

````