RepromptDocs

List Attributes

GET
/attributes

List available attributes including custom attributes

Authorization

bearerAuth
headerAuthorizationBearer <token>

Bearer token in the format: Bearer YOUR_API_KEY

Query Parameters

org_slug?string|null

Header Parameters

apiKey?string|null

Response Body

Successful Response

application/json
  1. response

Response for the /attributes endpoint

attributes*array<>
total_count*Total Count
Example Request
curl -X GET 'https://api.reprompt.io/v2/attributes'
Example Response
{  "attributes": [    {      "key": "string",      "name": "string",      "description": "string",      "function_signatures": [        {          "required_inputs": [            {              "name": "string",              "type": "string",              "description": "string",              "example": null            }          ],          "optional_inputs": [            {              "name": "string",              "type": "string",              "description": "string",              "example": null            }          ],          "output_schema": {},          "example_output": {},          "credit_cost": 0        }      ],      "enrichment_type": "string",      "generic_api_config": {},      "icon": "string",      "favicon": "string"    }  ],  "total_count": 0}