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

# Retrieve a marketplace skill

> Retrieve the files and content hash for a marketplace skill. This does not install the skill.



## OpenAPI

````yaml https://api.tembo.io/public-api/openapi/public get /v1/skills/marketplace/{skillId}
openapi: 3.1.0
info:
  title: Tembo Public API
  description: >-
    Manage agents, sessions, repositories, and organization resources with the
    Tembo API.
  version: 1.0.0
servers:
  - url: https://api.tembo.io
    description: Tembo API
  - url: https://{deployment-origin}/api/public-api
    description: Self-hosted Tembo
    variables:
      deployment-origin:
        default: tembo.example.com
        description: Hostname of your self-hosted Tembo deployment
security: []
paths:
  /v1/skills/marketplace/{skillId}:
    get:
      tags:
        - Skills
      summary: Retrieve a marketplace skill
      description: >-
        Retrieve the files and content hash for a marketplace skill. This does
        not install the skill.
      operationId: retrieveMarketplaceSkill
      parameters:
        - in: path
          name: skillId
          schema:
            type: string
            pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
            maxLength: 255
          required: true
        - in: query
          name: source
          schema:
            anyOf:
              - type: string
                pattern: ^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_.-]+$
                maxLength: 300
              - type: string
                pattern: ^[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)+$
                maxLength: 253
          required: true
          description: >-
            The source repository in owner/repo format. Domain-only sources
            cannot be downloaded and return 404.
      responses:
        '200':
          description: Retrieve a marketplace skill
          content:
            application/json:
              schema:
                type: object
                properties:
                  source:
                    anyOf:
                      - type: string
                        pattern: ^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_.-]+$
                        maxLength: 300
                      - type: string
                        pattern: ^[a-zA-Z0-9_-]+(?:\.[a-zA-Z0-9_-]+)+$
                        maxLength: 253
                  skillId:
                    type: string
                    pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$
                    maxLength: 255
                  files:
                    type: array
                    items:
                      type: object
                      properties:
                        content:
                          type: string
                        filename:
                          type: string
                          minLength: 1
                      required:
                        - content
                        - filename
                      additionalProperties: false
                    minItems: 1
                  hash:
                    type: string
                    minLength: 1
                required:
                  - source
                  - skillId
                  - files
                  - hash
                additionalProperties: false
        '400':
          description: >-
            Invalid request or missing required organization or user
            information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Skill not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Skill operation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '502':
          description: The skill marketplace is unavailable or returned invalid data
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - apiKey: []
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: >
            import Tembo from '@tembo-io/sdk';


            const client = new Tembo();


            const marketplace = await
            client.skills.marketplace.retrieve('skillId', {
              source: 'source',
            });
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

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