Query Usage
curl --request POST \
--url https://sandbox.api.cortexanote.com/v2/scribe/open-api/usage/query \
--header 'Content-Type: application/json' \
--header 'Cortexa-Api-Key: <api-key>' \
--data '
{
"name": "user_daily_report",
"since": "2023-12-25",
"until": "2023-12-25",
"offset": 0,
"limit": 100
}
'import requests
url = "https://sandbox.api.cortexanote.com/v2/scribe/open-api/usage/query"
payload = {
"name": "user_daily_report",
"since": "2023-12-25",
"until": "2023-12-25",
"offset": 0,
"limit": 100
}
headers = {
"Cortexa-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"report_date": "2023-12-25",
"grant_id": "<string>",
"external_user_id": "<string>",
"workspace_id": "<string>",
"sessions": 0,
"consult_notes": 0,
"documents": 0,
"transcription_minutes": 0,
"dictation_minutes": 0,
"structured_responses": 0,
"tasks": 0
}
],
"has_more": true,
"next_offset": 123,
"name": "user_daily_report",
"timezone": "UTC"
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}Partner usage
Query Usage
POST
/
v2
/
scribe
/
open-api
/
usage
/
query
Query Usage
curl --request POST \
--url https://sandbox.api.cortexanote.com/v2/scribe/open-api/usage/query \
--header 'Content-Type: application/json' \
--header 'Cortexa-Api-Key: <api-key>' \
--data '
{
"name": "user_daily_report",
"since": "2023-12-25",
"until": "2023-12-25",
"offset": 0,
"limit": 100
}
'import requests
url = "https://sandbox.api.cortexanote.com/v2/scribe/open-api/usage/query"
payload = {
"name": "user_daily_report",
"since": "2023-12-25",
"until": "2023-12-25",
"offset": 0,
"limit": 100
}
headers = {
"Cortexa-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"data": [
{
"report_date": "2023-12-25",
"grant_id": "<string>",
"external_user_id": "<string>",
"workspace_id": "<string>",
"sessions": 0,
"consult_notes": 0,
"documents": 0,
"transcription_minutes": 0,
"dictation_minutes": 0,
"structured_responses": 0,
"tasks": 0
}
],
"has_more": true,
"next_offset": 123,
"name": "user_daily_report",
"timezone": "UTC"
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}{
"message": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>"
}
],
"context": {}
}Body
application/json