Code Context
Suggest Code Context
POST
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringapplication/json- body
provider*stringValue in
"github""codeberg""gitlab""bitbucket""origin"repository*stringLength
1 <= lengthref?string|nullcodebergApiUrl?string|nullSuccess
application/json- response
provider*stringValue in
"github""codeberg""gitlab""bitbucket""origin"repository*stringref*string|nullframePrefixes*array<>curl -X POST 'https://api.faststats.dev/v0/projects/string/code-context/suggestions' \ -H 'Content-Type: application/json' \ -d '{ "provider": "github", "repository": "string"}'{ "provider": "github", "repository": "string", "ref": "string", "framePrefixes": [ "string" ]}