Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { createClient } from "@toloka-platform/sdk"; const client = createClient({ baseUrl: "https://platform.toloka.ai", apiKey: process.env.TOLOKA_API_KEY!, }); const inferredFields = await client.datasets.getInferredFields({ datasetId: "ds.019a0000-0000-7000-8000-000000000001" }); console.log(inferredFields);
{ "fields": [ { "name": "<string>", "jsonPath": "<string>", "depth": 0, "jsonSchema": {} } ] }
List inferred dataset fields.
fields
client.datasets
getInferredFields(args: { datasetId: string; }): Promise<{ fields: InferredField[] }>;
ds.
Promise<{ fields: InferredField[] }>
Show Fields
PotatoApiError
GET /datasets/{datasetId}/inferred-fields
Was this page helpful?