Pipe: List v1

The list pipe API endpoint allows you to get a list of pipes on Langbase with API. This endpoint requires a User or Org API key.


Generate a User/Org API key

You will need to generate an API key to authenticate your requests. For more information, visit the User/Org API key documentation.


GET/v1/pipes

Get a list of pipes

Get a list of all pipes by sending a GET request to this endpoint.

Headers

  • Name
    Content-Type
    Type
    string
    Description

    Request content type. Needs to be application/json.

  • Name
    Authorization
    Type
    string
    Description

    Replace <YOUR_API_KEY> with your user/org API key.

List Pipes

GET
/v1/pipes
curl https://api.langbase.com/v1/pipes \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer <YOUR_API_KEY>"

Response

[
  {
    "name": "test-pipe",
    "type": "chat",
    "description": "This is a pipe test from API",
    "status": "public",
    "api_key": "pipe_4FVBn2DgrzfJf...",
    "owner_login": "langbase",
    "url": "https://langbase.com/langbase/test-pipe"
  },
  ...
]