POST
/
v1
/
datastores
/
{datastore_id}
/
website
/
{task_id}
/
embed
curl --location 'https://api.llmrails.com/v1/datastores/{datastore_id}/website/{task_id}/embed' \
--header 'X-API-KEY: {token}' \
--header 'Content-Type: application/json' \
--data '{
    "links": [
        {
            "id": 1,
            "url": "https://llmrails.com/"
        },
        {
            "id": 2,
            "url": "https://www.llmrails.com/embedding-api"
        },
        {
            "id": 3,
            "url": "https://www.llmrails.com/chat"
        }
    ]
}'
{
    "status": "ok"
}
curl --location 'https://api.llmrails.com/v1/datastores/{datastore_id}/website/{task_id}/embed' \
--header 'X-API-KEY: {token}' \
--header 'Content-Type: application/json' \
--data '{
    "links": [
        {
            "id": 1,
            "url": "https://llmrails.com/"
        },
        {
            "id": 2,
            "url": "https://www.llmrails.com/embedding-api"
        },
        {
            "id": 3,
            "url": "https://www.llmrails.com/chat"
        }
    ]
}'
{
    "status": "ok"
}

Path Parameters

datastore_id
string
required
task_id
string
required

Body

application/json
links
object[]
required

Response

200 - application/json
status
string
default: ok