MENU navbar-image

Introduction

This documentation aims to provide all the information you need to work with our API.

<aside>As you scroll, you'll see code examples for working with the API in different programming languages in the dark area to the right (or as part of the content on mobile).
You can switch the language used with the tabs at the top right (or from the nav menu at the top left on mobile).</aside>

Authenticating requests

This API is not authenticated.

Endpoints

POST api/user/register

Example request:
curl --request POST \
    "http://localhost:8000/api/user/register" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"password\": \"consequatur\"
}"
const url = new URL(
    "http://localhost:8000/api/user/register"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "qkunze@example.com",
    "password": "consequatur"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/user/register

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. Must not be greater than 255 characters. Example: qkunze@example.com

password   string     

Example: consequatur

POST api/user/login

Example request:
curl --request POST \
    "http://localhost:8000/api/user/login" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"email\": \"qkunze@example.com\",
    \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
}"
const url = new URL(
    "http://localhost:8000/api/user/login"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "email": "qkunze@example.com",
    "password": "O[2UZ5ij-e\/dl4m{o,"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/user/login

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

Body Parameters

email   string     

Must be a valid email address. Example: qkunze@example.com

password   string     

Example: O[2UZ5ij-e/dl4m{o,

POST api/user/login/google

Example request:
curl --request POST \
    "http://localhost:8000/api/user/login/google" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/user/login/google"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/user/login/google

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/batches/{batch_id}/proceed

Example request:
curl --request POST \
    "http://localhost:8000/api/batches/17/proceed" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/batches/17/proceed"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/batches/{batch_id}/proceed

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

batch_id   integer     

The ID of the batch. Example: 17

GET api/email/verify/{id}/{hash}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/email/verify/consequatur/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/email/verify/consequatur/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (403):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Invalid signature."
}
 

Request      

GET api/email/verify/{id}/{hash}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

id   string     

The ID of the verify. Example: consequatur

hash   string     

Example: consequatur

POST api/email/verification-notification

Example request:
curl --request POST \
    "http://localhost:8000/api/email/verification-notification" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/email/verification-notification"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/email/verification-notification

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/user

Example request:
curl --request GET \
    --get "http://localhost:8000/api/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/user

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/user

Example request:
curl --request POST \
    "http://localhost:8000/api/user" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/user"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/user

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/regions

Example request:
curl --request POST \
    "http://localhost:8000/api/regions" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/regions"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/regions

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/regions/{region_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/regions/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/regions/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/regions/{region_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

region_id   integer     

The ID of the region. Example: 1

POST api/regions/browse

Example request:
curl --request POST \
    "http://localhost:8000/api/regions/browse" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/regions/browse"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/regions/browse

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/regions/coded

Example request:
curl --request POST \
    "http://localhost:8000/api/regions/coded" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/regions/coded"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/regions/coded

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/languages

Example request:
curl --request POST \
    "http://localhost:8000/api/languages" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/languages"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/languages

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/projects

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/projects

Example request:
curl --request POST \
    "http://localhost:8000/api/projects" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/projects/{project_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

DELETE api/projects/{project_id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/projects/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/projects/{project_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/members

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/members" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/members"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/members

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

GET api/projects/{project_id}/tags

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/tags" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/tags"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/tags

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/tags

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/tags" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://localhost:8000/api/projects/1/tags"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/projects/{project_id}/tags

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

Body Parameters

name   string     

Must be at least 2 characters. Must not be greater than 100 characters. Example: vmqeopfuudtdsufvyvddq

parent_id   string  optional    

POST api/tags/{tag_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/tags/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/tags/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/tags/{tag_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

tag_id   integer     

The ID of the tag. Example: 17

DELETE api/tags/{tag_id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/tags/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/tags/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/tags/{tag_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

tag_id   integer     

The ID of the tag. Example: 17

GET api/projects/{project_id}/patterns

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/patterns" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/patterns"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/patterns

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/patterns

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/patterns" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://localhost:8000/api/projects/1/patterns"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/projects/{project_id}/patterns

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

Body Parameters

name   string     

Must be at least 2 characters. Must not be greater than 300 characters. Example: vmqeopfuudtdsufvyvddq

GET api/patterns/{pattern_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/patterns/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/patterns/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/patterns/{pattern_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

pattern_id   integer     

The ID of the pattern. Example: 1

POST api/patterns/{pattern_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/patterns/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/patterns/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/patterns/{pattern_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

pattern_id   integer     

The ID of the pattern. Example: 1

Delete pattern - detach collections - delete collection variations - delete collections - detach tags

Example request:
curl --request DELETE \
    "http://localhost:8000/api/patterns/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/patterns/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/patterns/{pattern_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

pattern_id   integer     

The ID of the pattern. Example: 1

POST api/patterns/{pattern_id}/collections

Example request:
curl --request POST \
    "http://localhost:8000/api/patterns/1/collections" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/patterns/1/collections"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/patterns/{pattern_id}/collections

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

pattern_id   integer     

The ID of the pattern. Example: 1

GET api/projects/{project_id}/collections

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/collections" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/collections"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/collections

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/collections/{collection_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/collections/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/collections/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/collections/{collection_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

collection_id   integer     

The ID of the collection. Example: 1

GET api/collections/{collection_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/collections/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/collections/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/collections/{collection_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

collection_id   integer     

The ID of the collection. Example: 1

DELETE api/collections/{collection_id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/collections/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/collections/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/collections/{collection_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

collection_id   integer     

The ID of the collection. Example: 1

POST api/collections/{collection_id}/clear

Example request:
curl --request POST \
    "http://localhost:8000/api/collections/1/clear" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/collections/1/clear"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/collections/{collection_id}/clear

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

collection_id   integer     

The ID of the collection. Example: 1

POST api/collections/{collection_id}/append

Example request:
curl --request POST \
    "http://localhost:8000/api/collections/1/append" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/collections/1/append"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/collections/{collection_id}/append

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

collection_id   integer     

The ID of the collection. Example: 1

GET api/projects/{project_id}/research

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/research" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/research"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/research

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/research

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/research" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"type\": \"combinator\"
}"
const url = new URL(
    "http://localhost:8000/api/projects/1/research"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "type": "combinator"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/projects/{project_id}/research

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

Body Parameters

name   string     

Example: consequatur

type   string     

Example: combinator

Must be one of:
  • combinator
  • list
  • found
  • gpt-translate

Import research json data

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/research/import" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/research/import"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/research/import

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

GET api/research/{research_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/research/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/research/{research_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

POST api/research/{research_id}/list

Example request:
curl --request POST \
    "http://localhost:8000/api/research/1/list" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1/list"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/research/{research_id}/list

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

POST api/research/{research_id}/combinator

Example request:
curl --request POST \
    "http://localhost:8000/api/research/1/combinator" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"consequatur\",
    \"schedule\": \"quarterly\"
}"
const url = new URL(
    "http://localhost:8000/api/research/1/combinator"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "consequatur",
    "schedule": "quarterly"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/research/{research_id}/combinator

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

Body Parameters

name   string  optional    

Example: consequatur

schedule   string  optional    

Example: quarterly

Must be one of:
  • daily
  • weekly
  • monthly
  • quarterly
  • yearly
  • none
regions   string  optional    
modes   object  optional    
tags   object  optional    

POST api/research/{research_id}/found

Example request:
curl --request POST \
    "http://localhost:8000/api/research/1/found" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1/found"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/research/{research_id}/found

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

POST api/research/{research_id}/gpt-translate

Example request:
curl --request POST \
    "http://localhost:8000/api/research/1/gpt-translate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1/gpt-translate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/research/{research_id}/gpt-translate

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

DELETE api/research/{research_id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/research/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/research/{research_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

POST api/research/{research_id}/run

Example request:
curl --request POST \
    "http://localhost:8000/api/research/1/run" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1/run"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/research/{research_id}/run

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

POST api/variations/{variation_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/variations/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/variations/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/variations/{variation_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

variation_id   integer     

The ID of the variation. Example: 1

DELETE api/variations/{variation_id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/variations/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/variations/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/variations/{variation_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

variation_id   integer     

The ID of the variation. Example: 1

GET api/batches/{batch_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/batches/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/batches/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/batches/{batch_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

batch_id   integer     

The ID of the batch. Example: 17

POST api/gpt/variations

Example request:
curl --request POST \
    "http://localhost:8000/api/gpt/variations" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/gpt/variations"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/gpt/variations

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/gpt/countries

Example request:
curl --request POST \
    "http://localhost:8000/api/gpt/countries" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/gpt/countries"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/gpt/countries

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/gpt/sentence/variations

Example request:
curl --request POST \
    "http://localhost:8000/api/gpt/sentence/variations" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/gpt/sentence/variations"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/gpt/sentence/variations

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

POST api/gpt/generic

Example request:
curl --request POST \
    "http://localhost:8000/api/gpt/generic" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/gpt/generic"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/gpt/generic

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/gsc/websites

Example request:
curl --request GET \
    --get "http://localhost:8000/api/gsc/websites" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/gsc/websites"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/gsc/websites

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

GET api/projects/{project_id}/websites

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/websites" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/websites"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/websites

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/websites

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/websites" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/websites"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/websites

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

GET api/websites/{website_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/websites/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/websites/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/websites/{website_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

website_id   integer     

The ID of the website. Example: 1

POST api/websites/{website_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/websites/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/websites/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/websites/{website_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

website_id   integer     

The ID of the website. Example: 1

DELETE api/websites/{website_id}

Example request:
curl --request DELETE \
    "http://localhost:8000/api/websites/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/websites/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

Request      

DELETE api/websites/{website_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

website_id   integer     

The ID of the website. Example: 1

POST api/websites/{website_id}/sync

Example request:
curl --request POST \
    "http://localhost:8000/api/websites/1/sync" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/websites/1/sync"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/websites/{website_id}/sync

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

website_id   integer     

The ID of the website. Example: 1

POST api/websites/{website_id}/pages/delete

Example request:
curl --request POST \
    "http://localhost:8000/api/websites/1/pages/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/websites/1/pages/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/websites/{website_id}/pages/delete

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

website_id   integer     

The ID of the website. Example: 1

GET api/projects/{project_id}/reporting/info

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/reporting/info" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/info"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/reporting/info

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/keywords/paginate

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/keywords/paginate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/keywords/paginate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/keywords/paginate

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/keywords/download

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/keywords/download" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/keywords/download"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/keywords/download

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/keywords/totals

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/keywords/totals" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/keywords/totals"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/keywords/totals

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/keywords/timelines

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/keywords/timelines" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/keywords/timelines"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/keywords/timelines

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project}/keywords/update

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/keywords/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/keywords/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project}/keywords/update

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project   integer     

The project. Example: 1

GET api/keywords/{keyword_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/keywords/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/keywords/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/keywords/{keyword_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

keyword_id   integer     

The ID of the keyword. Example: 1

POST api/projects/{project_id}/reporting/pages/info

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/pages/info" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/pages/info"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/pages/info

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/pages/paginate

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/pages/paginate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/pages/paginate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/pages/paginate

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/pages/totals

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/pages/totals" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/pages/totals"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/pages/totals

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/pages/timelines

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/pages/timelines" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/pages/timelines"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/pages/timelines

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/reporting/pages/download

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reporting/pages/download" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reporting/pages/download"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reporting/pages/download

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project}/pages/update

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/pages/update" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/pages/update"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project}/pages/update

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project   integer     

The project. Example: 1

POST api/projects/{project_id}/pages/delete

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/pages/delete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/pages/delete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/pages/delete

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

GET api/pages/{page_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/pages/1" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/pages/1"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/pages/{page_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

page_id   integer     

The ID of the page. Example: 1

POST api/projects/{project_id}/pages/test

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/pages/test" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/pages/test"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/pages/test

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/data/{table}

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/data/consequatur" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/data/consequatur"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/data/{table}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

table   string     

Example: consequatur

POST api/projects/{project_id}/reports

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/reports" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://localhost:8000/api/projects/1/reports"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/projects/{project_id}/reports

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

Body Parameters

title   string     

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

POST api/reports/{report_id}

Example request:
curl --request POST \
    "http://localhost:8000/api/reports/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"title\": \"vmqeopfuudtdsufvyvddq\"
}"
const url = new URL(
    "http://localhost:8000/api/reports/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "title": "vmqeopfuudtdsufvyvddq"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

Request      

POST api/reports/{report_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

report_id   integer     

The ID of the report. Example: 17

Body Parameters

title   string  optional    

Must not be greater than 255 characters. Example: vmqeopfuudtdsufvyvddq

layout   object  optional    

GET api/reports/{report_id}

Example request:
curl --request GET \
    --get "http://localhost:8000/api/reports/17" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/reports/17"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/reports/{report_id}

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

report_id   integer     

The ID of the report. Example: 17

GET api/projects/{project_id}/reports

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/reports" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reports"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/projects/{project_id}/reports

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/projects/{project_id}/procedures

Example request:
curl --request POST \
    "http://localhost:8000/api/projects/1/procedures" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/procedures"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/projects/{project_id}/procedures

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

GET api/projects/{project_id}/reports/looker

Example request:
curl --request GET \
    --get "http://localhost:8000/api/projects/1/reports/looker" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/projects/1/reports/looker"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "success": true,
    "data": [],
    "total_rows": 0,
    "project_id": 1,
    "execution_time": 0
}
 

Request      

GET api/projects/{project_id}/reports/looker

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

project_id   integer     

The ID of the project. Example: 1

POST api/batches/{batch_id}/complete

Example request:
curl --request POST \
    "http://localhost:8000/api/batches/17/complete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/batches/17/complete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/batches/{batch_id}/complete

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

batch_id   integer     

The ID of the batch. Example: 17

POST api/research/{research_id}/keywords/paginate

Example request:
curl --request POST \
    "http://localhost:8000/api/research/1/keywords/paginate" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/research/1/keywords/paginate"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/research/{research_id}/keywords/paginate

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

research_id   integer     

The ID of the research. Example: 1

POST api/procedures/{step_id}/complete

Example request:
curl --request POST \
    "http://localhost:8000/api/procedures/1/complete" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "http://localhost:8000/api/procedures/1/complete"
);

const headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

Request      

POST api/procedures/{step_id}/complete

Headers

Content-Type        

Example: application/json

Accept        

Example: application/json

URL Parameters

step_id   integer     

The ID of the step. Example: 1