POST
/
v1
/
analyses
Update analysis
curl --request POST \
  --url https://searchlysis.com/api/v1/analyses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "analysisId": "<string>",
  "textContent": "<string>",
  "jsonContent": {},
  "metadata": {}
}'
{
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "analysisId": "<string>",
  "analysis": {
    "title": "<string>",
    "url": "<string>",
    "publishedDate": "<string>",
    "author": "<string>",
    "score": 123,
    "id": "<string>",
    "image": "<string>",
    "favicon": "<string>",
    "extras": {
      "imageLinks": [
        "<string>"
      ]
    },
    "text": "<string>"
  },
  "textContent": "<string>",
  "jsonContent": {},
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Body

application/json
analysisId
string
required
textContent
string

The full text of the generated content.

jsonContent
object

The json object of the generated content.

metadata
object

User defined key-value pair where the key is a string, and the value can be a string, number, boolean, or null

Response

200 - application/json

Successful operation

createdAt
string
required
updatedAt
string
required
analysisId
string
required
analysis
object
required
textContent
string

The full text of the generated content.

jsonContent
object

The json object of the generated content.

metadata
object

User defined key-value pair where the key is a string, and the value can be a string, number, boolean, or null