Skip to content

Send prompt.

POST
/backend/v1/prompts

Send a prompt to a provider, after being scanned with the chosen project configuration.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Request Body

application/json
JSON
"string"

Responses

Successful Response
application/json
JSON
{
"id": "string",
"result": {
"analysis": "string",
"files": "string",
"outcome": "string",
"providerResult": "string",
"response": "string",
"scannerResults": [
{
"completedDate": "string",
"customConfig": false,
"data": {
"matches": [
[
]
],
"type": "regex"
},
"outcome": "string",
"scanDirection": "string",
"scannerId": "string",
"scannerVersionMeta": "string",
"startedDate": "string"
}
]
},
"scanners": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Updated at: