Prompt Store

Base Path: /v1/prompts

Search Prompts

Method: GET Endpoint: https://api.tokensource.com/v1/prompts/search Description: Searches for prompts based on a query and/or category.

Query Parameters:

  • query (string, optional)

  • category (integer, optional)

  • limit (integer, optional, default: 10)

  • offset (integer, optional, default: 0)

Response (200 OK):

{
  "status": "success",
  "data": {
    "prompts": [
      {
        "externalId": "prompt-id-1",
        "title": "Prompt Title 1",
        "description": "Prompt Description 1",
        "useCount": 15,
        "category": {
          "name": "..."
        }
      }
    ]
  }
}

Last updated