v1

latestOpenAPI 3.1.0Apache 2.02026-07-1714117164.2 KB
chat

Tokenize

Tokenize a string and return the tokenized output as a set of input_ids and strings -- this only works if the worker implements the tokenize endpoint.

post/tokenize

Response

Successful Response

{"stackTrail":"paths:/tokenize:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}