Perform map for the project

Request a map for your project and receive it as text.

Parameters


"omni_key" is the private key.
You can generate a personal key in your profile settings on the platform. Instructions on how to do this can be found here> API key

"customPrompt" Please summarize the original context in up to 100 words, ensuring the entire response is in the original language and formatted using Markdown.

"saveKey” a name of the key in db where results or customPrompt are saved

"language" we support many languages, please indicate which one you use in your project.
Specify the language in code format en/es/ua/de…

/rest/v1/projects/{id}/actions/map
Example
{
  "omni_key":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoiNGFiNDUyYTMtNGMwYi00MTIyLWI3NDgtYzk4MWRiN2VlYWFlIiwiZGVmYXVsdFJvbGUiOiJ1c2VyIiwiYWxsb3dlZFJvbGVzIjpbInVzZXIiLCJtZSJdfSwiaWF0IjoxNzE0MzgxNzM4LCJleHAiOjE3NDU5MzkzMzgsInN1YiI6IjRhYjQ1MmEzLTRjMGItNDEyMi1iNzQ4LWM5ODFkYjdlZWFhZSJ9.EFa4TEFmXrSdUX7X6rrfbFSy2xP78YEhHSRWUid9hMo",
  "customPrompt": "string",
  "saveKey": "key1",
  "language": "en"
}
Schema
{
  omni_key:	string,
  customPrompt:	string,
  saveKey:	string,
  language:	string,
}

Responses

Successful operation

Example
{
  "results": [
    [
      {
        "id": "f3fddec6-0f7a-4db4-a3b6-c5a08",
        "summary": "string"
      }
    ]
  ]
}
Schema
{
  results	[[{
    id:	"string"
    summary: "string"
}]]
}
Was this article helpful to you? Yes No

How can we help?