2
0

📝 Add a note on where to find resultId

This commit is contained in:
Baptiste Arnaud
2024-01-04 20:48:56 +01:00
parent b2c732ac93
commit 2385eaf7d5
2 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,11 @@ export const getResult = authenticatedProcedure
.describe( .describe(
"[Where to find my bot's ID?](../how-to#how-to-find-my-typebotid)" "[Where to find my bot's ID?](../how-to#how-to-find-my-typebotid)"
), ),
resultId: z.string(), resultId: z
.string()
.describe(
'The `resultId` is returned by the /startChat endpoint or you can find it by listing results with `/results` endpoint'
),
}) })
) )
.output( .output(

View File

@ -15494,7 +15494,8 @@
"in": "path", "in": "path",
"name": "resultId", "name": "resultId",
"schema": { "schema": {
"type": "string" "type": "string",
"description": "The `resultId` is returned by the /startChat endpoint or you can find it by listing results with `/results` endpoint"
}, },
"required": true "required": true
} }