import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/coach-conversations/{coach_conversation_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}/coach-conversations/{coach_conversation_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}/coach-conversations/{coach_conversation_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."
}Sheets of a spreadsheet attachment
The parsed blocks of a spreadsheet attachment, in the shape the sheet viewer draws
(one Title block per sheet holding its name, then tables and text placed on a
grid: bbox.top = row, bbox.left = column, bbox.page = sheet). CLA-2044.
Without sheet, returns every sheet’s Title block and the first rows, filling
sheets in order up to a total row budget. With sheet (and from_row), returns that
sheet’s next window of rows. loaded_until gives, per sheet, the last row fetched.
The interviewer reads a draft’s files from the same action on the draft route.
Returns 404 when the file has no spreadsheet preview (has_spreadsheet_preview: false).
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/coach-conversations/{coach_conversation_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}/coach-conversations/{coach_conversation_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}/coach-conversations/{coach_conversation_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
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).