Skip to main content
GET
/
attributes
List Attributes
curl --request GET \
  --url https://api.reprompt.io/v2/attributes \
  --header 'Authorization: Bearer <token>'
{
  "attributes": [
    {
      "key": "<string>",
      "name": "<string>",
      "description": "<string>",
      "function_signatures": [
        {
          "required_inputs": [
            {
              "name": "<string>",
              "type": "<string>",
              "description": "<string>",
              "example": "<any>"
            }
          ],
          "optional_inputs": [
            {
              "name": "<string>",
              "type": "<string>",
              "description": "<string>",
              "example": "<any>"
            }
          ],
          "output_schema": {},
          "example_output": {},
          "credit_cost": 123
        }
      ],
      "enrichment_type": "<string>",
      "generic_api_config": {},
      "icon": "<string>"
    }
  ],
  "total_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

Response for the /attributes endpoint

attributes
V2AttributeDetails · object[]
required
total_count
integer
required
I