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

Authorizations

x-api-key
string
header
required

Body

application/json
analysisId
string
required
content
string

The LLM generated content of the search result based on the prompt and text.

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
metadata
object

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