Skip to main content
POST
/
api
/
v1
/
leads
/
{leadId}
/
go-no-go
/
analyses
Error
A valid request URL is required to generate request examples
{
  "ok": "<unknown>",
  "meta": {
    "requestId": "<string>",
    "serverTime": "2023-11-07T05:31:56Z"
  },
  "data": {
    "analysis": {
      "id": "<string>",
      "dbId": 123,
      "leadId": "<string>",
      "analysisType": "ruleBased",
      "scores": {},
      "totalScore": 123,
      "recommendation": "<string>",
      "reasoning": "<string>",
      "keyFactors": [
        "<string>"
      ],
      "riskAreas": [
        "<string>"
      ],
      "opportunities": [
        "<string>"
      ],
      "model": "<string>",
      "promptUsed": "<string>",
      "schema": "<unknown>",
      "tokenUsage": {
        "prompt": 123,
        "completion": 123,
        "total": 123
      },
      "executionTimeMs": 123,
      "createdAt": "2023-11-07T05:31:56Z"
    }
  }
}

Path Parameters

leadId
string
required
Minimum string length: 1

Body

application/json

The body is of type object.

Response

OK

ok
any
required
meta
object
required
data
object
required