Skip to main content

Validate Api Key

GET 

https://cloud.agenta.ai/api/keys/:key_prefix/validate

This Function is called by the CLI and is used to validate an API key provided by a user in agenta init setup. Returns: bool: True. If the request reaches this point, the API key is valid.

Request

Path Parameters

    key_prefix Key Prefixrequired

Responses

Successful Response

Schema

    boolean

curl -L 'https://cloud.agenta.ai/api/keys/:key_prefix/validate' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!