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

# Get Credential

> Read an accessible credential's metadata without retrieving its stored secret value.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/credentials/{credential_uuid}
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/credentials/{credential_uuid}:
    get:
      tags:
        - Credentials
      summary: Get Credential
      description: >-
        Read an accessible credential's metadata without retrieving its stored
        secret value.
      operationId: get_credential_api_v1_credentials__credential_uuid__get
      parameters:
        - name: credential_uuid
          in: path
          required: true
          schema:
            type: string
            title: Credential Uuid
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CredentialResponse'
        '400':
          description: Bad Request
        '401':
          description: Authentication is missing or invalid.
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    CredentialResponse:
      properties:
        uuid:
          type: string
          title: Uuid
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        credential_type:
          type: string
          title: Credential Type
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        header_names:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Header Names
        mcp_oauth:
          anyOf:
            - $ref: '#/components/schemas/McpOAuthStatus'
            - type: 'null'
      type: object
      required:
        - uuid
        - name
        - description
        - credential_type
        - created_at
        - updated_at
      title: CredentialResponse
      description: >-
        Response schema for a webhook credential (never includes sensitive
        data).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    McpOAuthStatus:
      properties:
        status:
          type: string
          title: Status
        server_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Server Url
        scope:
          anyOf:
            - type: string
            - type: 'null'
          title: Scope
        expires_at:
          anyOf:
            - type: number
            - type: 'null'
          title: Expires At
        connected_at:
          anyOf:
            - type: number
            - type: 'null'
          title: Connected At
        last_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error
      type: object
      required:
        - status
      title: McpOAuthStatus
      description: Sign-in state of an mcp_oauth credential (no tokens).
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.