Sheets of a draft's spreadsheet reference document
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/interview-drafts/{draft_id}/local-documents/{id}/spreadsheet-blocks/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/interview-drafts/{draft_id}/local-documents/{id}/spreadsheet-blocks/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/interview-drafts/{draft_id}/local-documents/{id}/spreadsheet-blocks/ \
--header 'Authorization: Bearer <token>'{
"sheets": [
{
"page": 123,
"name": "<string>",
"row_count": 123
}
],
"blocks": [
{
"id": "<string>",
"page": 123,
"position_rank": 123,
"content": {}
}
],
"loaded_until": {}
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Interviews
Sheets of a draft's spreadsheet reference document
Same as the interview route’s spreadsheet-blocks/, for a draft’s reference
documents (CLA-2044). Admin only.
GET
/
projects
/
{project_id}
/
interview-drafts
/
{draft_id}
/
local-documents
/
{id}
/
spreadsheet-blocks
/
Sheets of a draft's spreadsheet reference document
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/interview-drafts/{draft_id}/local-documents/{id}/spreadsheet-blocks/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/interview-drafts/{draft_id}/local-documents/{id}/spreadsheet-blocks/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/interview-drafts/{draft_id}/local-documents/{id}/spreadsheet-blocks/ \
--header 'Authorization: Bearer <token>'{
"sheets": [
{
"page": 123,
"name": "<string>",
"row_count": 123
}
],
"blocks": [
{
"id": "<string>",
"page": 123,
"position_rank": 123,
"content": {}
}
],
"loaded_until": {}
}{
"error": "You do not have permission to perform this action."
}{
"error": "Not found."
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Path Parameters
UUID of the project
Query Parameters
Sheet (block page) to load more rows of.
First row of the window, with sheet (default 1).