generation
Record an accepted completion
Report that the user accepted an autocomplete suggestion. context must be exactly the {query, completion} object the completion hash was computed from — extra keys fail the hash check.
post/api/v1/complete/{completion_hash}/accept
Request
- Base URL: https://api.sapling.ai
- URL: https://api.sapling.ai/api/v1/complete/{completion_hash}/accept
- Auth: one of:
- HTTP bearer
- none
Path parameters
completion_hashstring uuid required
The hash returned by /api/v1/complete.
Request body
Response
Recorded.
Changes
No recorded changes to this operation across all 1 revision of this API.