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

# Get workspace context for the current API key

> Returns workspace metadata, key scopes, and subscription context so agents can adapt behavior before making write calls.



## OpenAPI

````yaml /openapi/traseq-public-agent.json get /public/v1/workspace
openapi: 3.0.0
info:
  title: Traseq Agent API
  description: >-
    Public, versioned API for external integrations and AI agents. Includes API
    key management and machine-readable OpenAPI.
  version: 1.0.0
  contact: {}
servers: []
security: []
tags:
  - name: API Keys
    description: Workspace-scoped API key management
  - name: Agent API
    description: Public API for external integrations and AI agents
paths:
  /public/v1/workspace:
    get:
      tags:
        - Agent API
      summary: Get workspace context for the current API key
      description: >-
        Returns workspace metadata, key scopes, and subscription context so
        agents can adapt behavior before making write calls.
      operationId: PublicOpenApiController_getWorkspace
      parameters: []
      responses:
        '200':
          description: Workspace context
      security:
        - traseq-api-key: []
components:
  securitySchemes:
    traseq-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Workspace API key for public agent API access

````