repos

Create a repo.

post/api/v1/repos

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/repos
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Request body

tag_value_idsstring[] nullable
repo_handlestring required
descriptionstring nullable
readmestring nullable
is_publicboolean required
tagsstring[] nullable
repo_type'prompt' | 'file' | 'agent' | 'skill'
source'internal' | 'external' nullable
restricted_modeboolean nullable

Response

Successful Response

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status