Authorizations
Headers
ID of team to run requests as (optional parameter).
Body
application/json
ID of target endpoint. If you want to send request to specific adapter, use the format "YOUR_ENDPOINT_ID:YOUR_ADAPTER_ROUTE". Otherwise, you can just use "YOUR_ENDPOINT_ID" alone.
Examples:
"(endpoint-id)"
Input text prompt to tokenize.
Examples:
"What is generative AI?"
Response
Successfully tokenized the text.
A list of token IDs.