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

# Get endpoint

> Retrieve endpoint details including method, path, parameters, and authentication settings.



## OpenAPI

````yaml api-reference/openapi.json get /endpoints/{id}
openapi: 3.1.0
info:
  title: Ziet API
  description: >-
    Ziet is a serverless platform for AI agents and applications. Build
    intelligent agents with @Agent and @Action decorators, or serverless APIs
    with @Endpoint and Database. Deploy with a single command—no infrastructure
    to manage.
  license:
    name: MIT
  version: 0.1.0
servers:
  - url: https://api.ziet.ai/v1
    description: Production
security:
  - apiKey: []
tags:
  - name: Deployment
    description: Deploy code
  - name: Actions
    description: Discover actions
  - name: Agents
    description: Discover and configure agents
  - name: Endpoints
    description: Discover and invoke endpoints
  - name: Runs
    description: Execute agents
  - name: Memory
    description: Manage run memory
paths:
  /endpoints/{id}:
    get:
      tags:
        - Endpoints
      summary: Get endpoint
      description: >-
        Retrieve endpoint details including method, path, parameters, and
        authentication settings.
      operationId: getEndpoint
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Endpoint details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Endpoint'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Endpoint:
      type: object
      required:
        - id
        - name
        - description
        - method
        - path
      properties:
        id:
          type: string
          description: Unique endpoint identifier
        name:
          type: string
          description: Human-readable name
        description:
          type: string
          description: What the endpoint does
        method:
          type: string
          enum:
            - GET
            - POST
            - PUT
            - DELETE
            - PATCH
          description: HTTP method
        path:
          type: string
          description: URL path (e.g., /users/{id})
        auth:
          type: boolean
          default: true
          description: Whether API key authentication is required
        timeout:
          type: integer
          default: 30
          description: Max execution time in seconds
        rate_limit:
          type: integer
          description: Max requests per minute
        parameters:
          type: object
          description: JSON Schema for parameters
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
  responses:
    Unauthorized:
      description: Invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: 'Format: ''Api-Key sk_live_YOUR_KEY'''

````