Tokenization
By giving a text input, generate a tokenized output of token IDs.
To successfully run an inference request, it is mandatory to enter a Friendli Token (e.g. flp_XXX) value in the Bearer Token field. Refer to the authentication section on our introduction page to learn how to acquire this variable and visit here to generate your token.
Authorizations
When using Friendli Endpoints API for inference requests, you need to provide a Friendli Token for authentication and authorization purposes.
For more detailed information, please refer here.
Headers
ID of team to run requests as (optional parameter).
Body
ID of target endpoint. If you want to send request to specific adapter, using "ENDPOINT_ID:ADAPTER_ROUTE" format.
Input text prompt to tokenize.
Response
A list of token IDs.
Was this page helpful?