Datasaur GraphQL API Reference
Datasaur GraphQL API Reference
Terms of Service
API Endpoints
# Production:
https://app.datasaur.ai/graphql
Headers
Authorization: Bearer <YOUR_TOKEN_HERE>
Queries
attemptTeamAction
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
action - TeamActionNames!
|
|
teamId - ID!
|
Example
Query
query AttemptTeamAction(
$action: TeamActionNames!,
$teamId: ID!
) {
attemptTeamAction(
action: $action,
teamId: $teamId
)
}
Variables
{"action": "MANAGE_EXTERNAL_PROVIDER", "teamId": 4}
Response
{"data": {"attemptTeamAction": false}}
checkExternalObjectStorageConnection
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - CreateExternalObjectStorageInput!
|
Example
Query
query CheckExternalObjectStorageConnection($input: CreateExternalObjectStorageInput!) {
checkExternalObjectStorageConnection(input: $input)
}
Variables
{"input": CreateExternalObjectStorageInput}
Response
{"data": {"checkExternalObjectStorageConnection": false}}
checkForMaliciousSite
checkLlmVectorStoreSourceRules
Response
Returns a LlmVectorStoreSourceCheckRulesResult!
Arguments
Name | Description |
---|---|
llmVectorStoreId - ID!
|
|
input - LlmVectorStoreSourceCreateInput!
|
Example
Query
query CheckLlmVectorStoreSourceRules(
$llmVectorStoreId: ID!,
$input: LlmVectorStoreSourceCreateInput!
) {
checkLlmVectorStoreSourceRules(
llmVectorStoreId: $llmVectorStoreId,
input: $input
) {
valid
invalidRules {
includePatterns
excludePatterns
}
}
}
Variables
{
"llmVectorStoreId": "4",
"input": LlmVectorStoreSourceCreateInput
}
Response
{
"data": {
"checkLlmVectorStoreSourceRules": {
"valid": false,
"invalidRules": LlmVectorStoreSourceInvalidRules
}
}
}
countProjectsByExternalObjectStorageId
dictionaryLookup
Response
Returns a DictionaryResult!
Example
Query
query DictionaryLookup(
$word: String!,
$lang: String
) {
dictionaryLookup(
word: $word,
lang: $lang
) {
word
lang
entries {
lexicalCategory
definitions {
...DefinitionEntryFragment
}
}
}
}
Variables
{
"word": "abc123",
"lang": "xyz789"
}
Response
{
"data": {
"dictionaryLookup": {
"word": "xyz789",
"lang": "xyz789",
"entries": [DictionaryResultEntry]
}
}
}
dictionaryLookupBatch
Response
Returns [DictionaryResult!]!
Arguments
Name | Description |
---|---|
words - [String!]!
|
|
lang - String!
|
Example
Query
query DictionaryLookupBatch(
$words: [String!]!,
$lang: String!
) {
dictionaryLookupBatch(
words: $words,
lang: $lang
) {
word
lang
entries {
lexicalCategory
definitions {
...DefinitionEntryFragment
}
}
}
}
Variables
{
"words": ["abc123"],
"lang": "xyz789"
}
Response
{
"data": {
"dictionaryLookupBatch": [
{
"word": "abc123",
"lang": "abc123",
"entries": [DictionaryResultEntry]
}
]
}
}
executeExportFileTransformer
Description
Simulates what an export file transformer will do to a document in a project, or to a project sample One of documentId or projectSampleId is required
Response
Returns an ExportFileTransformerExecuteResult!
Example
Query
query ExecuteExportFileTransformer(
$fileTransformerId: ID!,
$documentId: ID,
$projectSampleId: ID
) {
executeExportFileTransformer(
fileTransformerId: $fileTransformerId,
documentId: $documentId,
projectSampleId: $projectSampleId
)
}
Variables
{"fileTransformerId": 4, "documentId": 4, "projectSampleId": 4}
Response
{
"data": {
"executeExportFileTransformer": ExportFileTransformerExecuteResult
}
}
executeImportFileTransformer
Description
Simulates what an import file transformer will do to an input
Response
Returns an ImportFileTransformerExecuteResult!
Example
Query
query ExecuteImportFileTransformer(
$fileTransformerId: ID!,
$content: String!
) {
executeImportFileTransformer(
fileTransformerId: $fileTransformerId,
content: $content
)
}
Variables
{
"fileTransformerId": "4",
"content": "abc123"
}
Response
{
"data": {
"executeImportFileTransformer": ImportFileTransformerExecuteResult
}
}
exportActivities
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportActivitiesInput!
|
Example
Query
query ExportActivities($input: ExportActivitiesInput!) {
exportActivities(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportActivitiesInput}
Response
{
"data": {
"exportActivities": {
"exportId": "4",
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": true,
"redirect": "xyz789"
}
}
}
exportChart
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
id - ID!
|
|
input - AnalyticsDashboardQueryInput!
|
|
method - ExportChartMethod
|
Example
Query
query ExportChart(
$id: ID!,
$input: AnalyticsDashboardQueryInput!,
$method: ExportChartMethod
) {
exportChart(
id: $id,
input: $input,
method: $method
) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{
"id": "4",
"input": AnalyticsDashboardQueryInput,
"method": "EMAIL"
}
Response
{
"data": {
"exportChart": {
"exportId": "4",
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "abc123"
}
}
}
exportCustomReport
Description
Exports custom report.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
input - CustomReportBuilderInput!
|
Example
Query
query ExportCustomReport(
$teamId: ID!,
$input: CustomReportBuilderInput!
) {
exportCustomReport(
teamId: $teamId,
input: $input
) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"teamId": 4, "input": CustomReportBuilderInput}
Response
{
"data": {
"exportCustomReport": {
"exportId": "4",
"fileUrl": "xyz789",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "abc123"
}
}
}
exportLlmEvaluationAutomated
Description
Exports automated LLM evaluation.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportLlmEvaluationAutomatedInput!
|
Example
Query
query ExportLlmEvaluationAutomated($input: ExportLlmEvaluationAutomatedInput!) {
exportLlmEvaluationAutomated(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportLlmEvaluationAutomatedInput}
Response
{
"data": {
"exportLlmEvaluationAutomated": {
"exportId": 4,
"fileUrl": "xyz789",
"fileUrlExpiredAt": "abc123",
"queued": true,
"redirect": "abc123"
}
}
}
exportLlmEvaluationManual
Description
Exports the LLM manual evaluation.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportLlmEvaluationManualInput!
|
Example
Query
query ExportLlmEvaluationManual($input: ExportLlmEvaluationManualInput!) {
exportLlmEvaluationManual(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportLlmEvaluationManualInput}
Response
{
"data": {
"exportLlmEvaluationManual": {
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "xyz789",
"queued": true,
"redirect": "xyz789"
}
}
}
exportTeamIAA
Description
Exports team IAA.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
labelSetSignatures - [String!]
|
|
method - IAAMethodName
|
|
projectIds - [ID!]
|
Example
Query
query ExportTeamIAA(
$teamId: ID!,
$labelSetSignatures: [String!],
$method: IAAMethodName,
$projectIds: [ID!]
) {
exportTeamIAA(
teamId: $teamId,
labelSetSignatures: $labelSetSignatures,
method: $method,
projectIds: $projectIds
) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{
"teamId": "4",
"labelSetSignatures": ["abc123"],
"method": "COHENS_KAPPA",
"projectIds": ["4"]
}
Response
{
"data": {
"exportTeamIAA": {
"exportId": 4,
"fileUrl": "xyz789",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "abc123"
}
}
}
exportTeamIAAV2
Description
Exports team IAA.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - IAAInput!
|
Example
Query
query ExportTeamIAAV2($input: IAAInput!) {
exportTeamIAAV2(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": IAAInput}
Response
{
"data": {
"exportTeamIAAV2": {
"exportId": "4",
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "xyz789"
}
}
}
exportTeamOverview
Description
Exports team overview.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportTeamOverviewInput!
|
Example
Query
query ExportTeamOverview($input: ExportTeamOverviewInput!) {
exportTeamOverview(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportTeamOverviewInput}
Response
{
"data": {
"exportTeamOverview": {
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "abc123"
}
}
}
exportTestProjectResult
Description
Exports test project result.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportTestProjectResultInput!
|
Example
Query
query ExportTestProjectResult($input: ExportTestProjectResultInput!) {
exportTestProjectResult(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportTestProjectResultInput}
Response
{
"data": {
"exportTestProjectResult": {
"exportId": "4",
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": true,
"redirect": "xyz789"
}
}
}
exportTextProject
Description
Exports all files in a project.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportTextProjectInput!
|
Example
Query
query ExportTextProject($input: ExportTextProjectInput!) {
exportTextProject(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportTextProjectInput}
Response
{
"data": {
"exportTextProject": {
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "xyz789",
"queued": false,
"redirect": "xyz789"
}
}
}
exportTextProjectDocument
Description
Exports a single document / file.
Response
Returns an ExportRequestResult!
Arguments
Name | Description |
---|---|
input - ExportTextProjectDocumentInput!
|
Example
Query
query ExportTextProjectDocument($input: ExportTextProjectDocumentInput!) {
exportTextProjectDocument(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
queued
redirect
}
}
Variables
{"input": ExportTextProjectDocumentInput}
Response
{
"data": {
"exportTextProjectDocument": {
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "xyz789"
}
}
}
generateFileUrls
Response
Returns [FileUrlInfo!]!
Arguments
Name | Description |
---|---|
input - GenerateFileUrlsInput!
|
Example
Query
query GenerateFileUrls($input: GenerateFileUrlsInput!) {
generateFileUrls(input: $input) {
uploadUrl
downloadUrl
fileName
}
}
Variables
{"input": GenerateFileUrlsInput}
Response
{
"data": {
"generateFileUrls": [
{
"uploadUrl": "abc123",
"downloadUrl": "abc123",
"fileName": "abc123"
}
]
}
}
getActivities
Response
Returns a GetActivitiesResponse!
Arguments
Name | Description |
---|---|
input - GetActivitiesInput!
|
Example
Query
query GetActivities($input: GetActivitiesInput!) {
getActivities(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
event
visibility
teamId
userId
userDisplayName
createdAt
projectId
projectName
documentId
documentType
documentName
labelAddressHashCode
labelType
bulkId
additionalData {
...ActivityAdditionalDataFragment
}
}
}
}
Variables
{"input": GetActivitiesInput}
Response
{
"data": {
"getActivities": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ActivityEvent]
}
}
}
getActivitiesSuggestion
Response
Returns a GetActivitiesSuggestionResponse!
Arguments
Name | Description |
---|---|
input - GetActivitiesSuggestionInput!
|
Example
Query
query GetActivitiesSuggestion($input: GetActivitiesSuggestionInput!) {
getActivitiesSuggestion(input: $input) {
suggestions {
displayName
id
groupId
}
}
}
Variables
{"input": GetActivitiesSuggestionInput}
Response
{
"data": {
"getActivitiesSuggestion": {
"suggestions": [ActivitySuggestion]
}
}
}
getAllExtensions
Response
Returns [ExtensionGroup!]!
Example
Query
query GetAllExtensions {
getAllExtensions {
kind
extensions {
id
title
url
elementType
elementKind
documentType
}
}
}
Response
{
"data": {
"getAllExtensions": [
{
"kind": "DOCUMENT_BASED",
"extensions": [Extension]
}
]
}
}
getAllTeams
Response
Returns [Team!]!
Example
Query
query GetAllTeams {
getAllTeams {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Response
{
"data": {
"getAllTeams": [
{
"id": "4",
"logoURL": "abc123",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
]
}
}
getAllowedIPs
Response
Returns [String!]!
Example
Query
query GetAllowedIPs {
getAllowedIPs
}
Response
{"data": {"getAllowedIPs": ["abc123"]}}
getAnalyticsLastUpdatedAt
Response
Returns a String!
Example
Query
query GetAnalyticsLastUpdatedAt {
getAnalyticsLastUpdatedAt
}
Response
{
"data": {
"getAnalyticsLastUpdatedAt": "xyz789"
}
}
getAnalyticsPerformance
Response
Arguments
Name | Description |
---|---|
input - GetAnalyticsPerformanceInput!
|
Example
Query
query GetAnalyticsPerformance($input: GetAnalyticsPerformanceInput!) {
getAnalyticsPerformance(input: $input) {
projectId
resourceId
projectName
labelingStatus
documentStatus {
documentId
status
}
projectStatus
totalLabelApplied
totalAnswerApplied
totalConflictResolved
numberOfAcceptedLabels
numberOfRejectedLabels
numberOfConflictedLabels
numberOfMissingLabels
numberOfMissedLabels
numberOfAcceptedAnswers
numberOfRejectedAnswers
numberOfConflictedAnswers
numberOfAnsweredLines
activeDurationInMillis
}
}
Variables
{"input": GetAnalyticsPerformanceInput}
Response
{
"data": {
"getAnalyticsPerformance": [
{
"projectId": "4",
"resourceId": "abc123",
"projectName": "xyz789",
"labelingStatus": "NOT_STARTED",
"documentStatus": [DocumentStatus],
"projectStatus": "CREATED",
"totalLabelApplied": 987,
"totalAnswerApplied": 123,
"totalConflictResolved": 123,
"numberOfAcceptedLabels": 123,
"numberOfRejectedLabels": 987,
"numberOfConflictedLabels": 987,
"numberOfMissingLabels": 987,
"numberOfMissedLabels": 987,
"numberOfAcceptedAnswers": 123,
"numberOfRejectedAnswers": 987,
"numberOfConflictedAnswers": 987,
"numberOfAnsweredLines": 987,
"activeDurationInMillis": 987
}
]
}
}
getAppSettingValue
getAutoLabel
Response
Returns [AutoLabelTokenBasedOutput!]!
Arguments
Name | Description |
---|---|
input - AutoLabelTokenBasedInput
|
Example
Query
query GetAutoLabel($input: AutoLabelTokenBasedInput) {
getAutoLabel(input: $input) {
label
deleted
layer
start {
sentenceId
tokenId
charId
}
end {
sentenceId
tokenId
charId
}
confidenceScore
error {
status
message
}
}
}
Variables
{"input": AutoLabelTokenBasedInput}
Response
{
"data": {
"getAutoLabel": [
{
"label": "xyz789",
"deleted": false,
"layer": 123,
"start": TextCursor,
"end": TextCursor,
"confidenceScore": 123.45,
"error": AutoLabelError
}
]
}
}
getAutoLabelBBoxBased
Response
Returns [AutoLabelBBoxBasedOutput!]!
Arguments
Name | Description |
---|---|
input - AutoLabelBBoxBasedInput
|
Example
Query
query GetAutoLabelBBoxBased($input: AutoLabelBBoxBasedInput) {
getAutoLabelBBoxBased(input: $input) {
id
documentId
bboxLabelClassId
caption
shapes {
pageIndex
points {
...BBoxPointFragment
}
}
confidenceScore
error {
status
message
}
}
}
Variables
{"input": AutoLabelBBoxBasedInput}
Response
{
"data": {
"getAutoLabelBBoxBased": [
{
"id": 4,
"documentId": "4",
"bboxLabelClassId": "4",
"caption": "xyz789",
"shapes": [BBoxShape],
"confidenceScore": 123.45,
"error": AutoLabelError
}
]
}
}
getAutoLabelDocBased
Response
Returns an AutoLabelDocBasedOutput!
Arguments
Name | Description |
---|---|
input - AutoLabelDocBasedInput
|
Example
Query
query GetAutoLabelDocBased($input: AutoLabelDocBasedInput) {
getAutoLabelDocBased(input: $input) {
documentId
answers
}
}
Variables
{"input": AutoLabelDocBasedInput}
Response
{
"data": {
"getAutoLabelDocBased": {
"documentId": 4,
"answers": AnswerScalar
}
}
}
getAutoLabelModels
Response
Returns [AutoLabelModel!]!
Arguments
Name | Description |
---|---|
input - AutoLabelModelsInput!
|
Example
Query
query GetAutoLabelModels($input: AutoLabelModelsInput!) {
getAutoLabelModels(input: $input) {
name
provider
privacy
}
}
Variables
{"input": AutoLabelModelsInput}
Response
{
"data": {
"getAutoLabelModels": [
{
"name": "abc123",
"provider": "CUSTOM",
"privacy": "PUBLIC"
}
]
}
}
getAutoLabelRowBased
Response
Returns [AutoLabelRowBasedOutput!]!
Arguments
Name | Description |
---|---|
input - AutoLabelRowBasedInput
|
Example
Query
query GetAutoLabelRowBased($input: AutoLabelRowBasedInput) {
getAutoLabelRowBased(input: $input) {
id
label
error {
status
message
}
}
}
Variables
{"input": AutoLabelRowBasedInput}
Response
{
"data": {
"getAutoLabelRowBased": [
{
"id": 123,
"label": "abc123",
"error": AutoLabelError
}
]
}
}
getAwsMarketplaceNlpFreeTrialExpiration
Response
Returns an AwsMarketplaceNlpFreeTrialExpiration!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetAwsMarketplaceNlpFreeTrialExpiration($teamId: ID!) {
getAwsMarketplaceNlpFreeTrialExpiration(teamId: $teamId) {
expiredAt
isExpired
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getAwsMarketplaceNlpFreeTrialExpiration": {
"expiredAt": "xyz789",
"isExpired": true
}
}
}
getBBoxLabelSetsByProject
Response
Returns [BBoxLabelSet!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetBBoxLabelSetsByProject($projectId: ID!) {
getBBoxLabelSetsByProject(projectId: $projectId) {
id
name
classes {
id
name
color
captionAllowed
captionRequired
questions {
...QuestionFragment
}
}
autoLabelProvider
}
}
Variables
{"projectId": "4"}
Response
{
"data": {
"getBBoxLabelSetsByProject": [
{
"id": 4,
"name": "xyz789",
"classes": [BBoxLabelClass],
"autoLabelProvider": "TESSERACT"
}
]
}
}
getBBoxLabelsByDocument
Response
Returns [BBoxLabel!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetBBoxLabelsByDocument($documentId: ID!) {
getBBoxLabelsByDocument(documentId: $documentId) {
id
documentId
bboxLabelClassId
deleted
caption
shapes {
pageIndex
points {
...BBoxPointFragment
}
}
answers
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getBBoxLabelsByDocument": [
{
"id": 4,
"documentId": "4",
"bboxLabelClassId": 4,
"deleted": true,
"caption": "abc123",
"shapes": [BBoxShape],
"answers": AnswerScalar
}
]
}
}
getBBoxLabelsPaginated
Response
Returns a GetBBoxLabelsPaginatedResponse!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
input - GetBBoxLabelsPaginatedInput!
|
Example
Query
query GetBBoxLabelsPaginated(
$documentId: ID!,
$input: GetBBoxLabelsPaginatedInput!
) {
getBBoxLabelsPaginated(
documentId: $documentId,
input: $input
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
documentId
bboxLabelClassId
deleted
caption
shapes {
...BBoxShapeFragment
}
answers
}
}
}
Variables
{"documentId": 4, "input": GetBBoxLabelsPaginatedInput}
Response
{
"data": {
"getBBoxLabelsPaginated": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [BBoxLabel]
}
}
}
getBoundingBoxConflictList
Response
Returns a GetBoundingBoxConflictListResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetBoundingBoxConflictList($documentId: ID!) {
getBoundingBoxConflictList(documentId: $documentId) {
upToDate
items {
id
documentId
coordinates {
...CoordinateFragment
}
pageIndex
layer
position {
...TextRangeFragment
}
resolved
hashCode
labelerIds
text
}
}
}
Variables
{"documentId": 4}
Response
{
"data": {
"getBoundingBoxConflictList": {
"upToDate": true,
"items": [ConflictBoundingBoxLabel]
}
}
}
getBoundingBoxLabels
Response
Returns [BoundingBoxLabel!]!
Example
Query
query GetBoundingBoxLabels(
$documentId: ID!,
$startCellLine: Int,
$endCellLine: Int
) {
getBoundingBoxLabels(
documentId: $documentId,
startCellLine: $startCellLine,
endCellLine: $endCellLine
) {
id
documentId
coordinates {
x
y
}
counter
pageIndex
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
hashCode
type
labeledBy
}
}
Variables
{
"documentId": "4",
"startCellLine": 123,
"endCellLine": 987
}
Response
{
"data": {
"getBoundingBoxLabels": [
{
"id": 4,
"documentId": "4",
"coordinates": [Coordinate],
"counter": 987,
"pageIndex": 987,
"layer": 123,
"position": TextRange,
"hashCode": "xyz789",
"type": "ARROW",
"labeledBy": "PRELABELED"
}
]
}
}
getBoundingBoxPages
Response
Returns [BoundingBoxPage!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetBoundingBoxPages($documentId: ID!) {
getBoundingBoxPages(documentId: $documentId) {
pageIndex
pageHeight
pageWidth
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getBoundingBoxPages": [
{"pageIndex": 987, "pageHeight": 123, "pageWidth": 987}
]
}
}
getBuiltInProjectTemplates
Description
Fetches built-in project templates. Returns the new ProjectTemplateV2 structure. If you are looking for custom templates created in team workspaces, use getProjectTemplatesV2 instead.
Response
Returns [ProjectTemplateV2!]!
Example
Query
query GetBuiltInProjectTemplates {
getBuiltInProjectTemplates {
id
name
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Response
{
"data": {
"getBuiltInProjectTemplates": [
{
"id": "4",
"name": "xyz789",
"logoURL": "xyz789",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": 4,
"type": "CUSTOM",
"description": "abc123",
"imagePreviewURL": "abc123",
"videoURL": "xyz789"
}
]
}
}
getCabinet
Description
Returns the specified project's cabinet. Contains list of documents. To get a project's ID, see getProjects
.
Example
Query
query GetCabinet(
$projectId: ID!,
$role: Role!,
$visit: Boolean
) {
getCabinet(
projectId: $projectId,
role: $role,
visit: $visit
) {
id
documents
role
status
lastOpenedDocumentId
statistic {
id
numberOfTokens
numberOfLines
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
createdAt
}
}
Variables
{
"projectId": "4",
"role": "REVIEWER",
"visit": false
}
Response
{
"data": {
"getCabinet": {
"id": 4,
"documents": [TextDocumentScalar],
"role": "REVIEWER",
"status": "IN_PROGRESS",
"lastOpenedDocumentId": "4",
"statistic": CabinetStatistic,
"owner": User,
"createdAt": "2007-12-03T10:15:30Z"
}
}
}
getCabinetDocumentCompletionStates
Response
Returns [DocumentCompletionState!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetCabinetDocumentCompletionStates($cabinetId: ID!) {
getCabinetDocumentCompletionStates(cabinetId: $cabinetId) {
id
isCompleted
completedByUserId
status
statusUpdatedByUserId
}
}
Variables
{"cabinetId": 4}
Response
{
"data": {
"getCabinetDocumentCompletionStates": [
{
"id": 4,
"isCompleted": false,
"completedByUserId": 4,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4
}
]
}
}
getCabinetEditSentenceConflicts
Response
Returns [EditSentenceConflict!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetCabinetEditSentenceConflicts($cabinetId: ID!) {
getCabinetEditSentenceConflicts(cabinetId: $cabinetId) {
documentId
fileName
lines
}
}
Variables
{"cabinetId": 4}
Response
{
"data": {
"getCabinetEditSentenceConflicts": [
{
"documentId": "xyz789",
"fileName": "abc123",
"lines": [987]
}
]
}
}
getCabinetLabelSetsById
Response
Returns [LabelSet!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetCabinetLabelSetsById($cabinetId: ID!) {
getCabinetLabelSetsById(cabinetId: $cabinetId) {
id
name
index
signature
tagItems {
id
parentId
tagName
desc
color
type
arrowRules {
...LabelClassArrowRuleFragment
}
}
lastUsedBy {
projectId
name
}
arrowLabelRequired
leafOnlyOption
}
}
Variables
{"cabinetId": "4"}
Response
{
"data": {
"getCabinetLabelSetsById": [
{
"id": 4,
"name": "xyz789",
"index": 987,
"signature": "xyz789",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": false,
"leafOnlyOption": true
}
]
}
}
getCellMetadataKeys
Response
Returns [String!]!
Example
Query
query GetCellMetadataKeys(
$documentId: ID!,
$signature: String
) {
getCellMetadataKeys(
documentId: $documentId,
signature: $signature
)
}
Variables
{"documentId": 4, "signature": "abc123"}
Response
{
"data": {
"getCellMetadataKeys": ["abc123"]
}
}
getCellPositionsByMetadata
Description
Returns a paginated list of Cell positions along with its origin document ID.
Response
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - GetCellPositionsByMetadataPaginatedInput!
|
Example
Query
query GetCellPositionsByMetadata(
$projectId: ID!,
$input: GetCellPositionsByMetadataPaginatedInput!
) {
getCellPositionsByMetadata(
projectId: $projectId,
input: $input
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
originDocumentId
line
index
}
}
}
Variables
{
"projectId": "4",
"input": GetCellPositionsByMetadataPaginatedInput
}
Response
{
"data": {
"getCellPositionsByMetadata": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [CellPositionWithOriginDocumentId]
}
}
}
getCells
Response
Returns a GetCellsPaginatedResponse!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
input - GetCellsPaginatedInput!
|
|
signature - String
|
Example
Query
query GetCells(
$documentId: ID!,
$input: GetCellsPaginatedInput!,
$signature: String
) {
getCells(
documentId: $documentId,
input: $input,
signature: $signature
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes
}
}
Variables
{
"documentId": "4",
"input": GetCellsPaginatedInput,
"signature": "abc123"
}
Response
{
"data": {
"getCells": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [CellScalar]
}
}
}
getChartData
Response
Returns [ChartDataRow!]!
Arguments
Name | Description |
---|---|
id - ID!
|
|
input - AnalyticsDashboardQueryInput!
|
Example
Query
query GetChartData(
$id: ID!,
$input: AnalyticsDashboardQueryInput!
) {
getChartData(
id: $id,
input: $input
) {
key
values {
key
value
}
keyPayloadType
keyPayload
}
}
Variables
{
"id": "4",
"input": AnalyticsDashboardQueryInput
}
Response
{
"data": {
"getChartData": [
{
"key": "xyz789",
"values": [ChartDataRowValue],
"keyPayloadType": "USER",
"keyPayload": KeyPayload
}
]
}
}
getCharts
Response
Returns [Chart!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
level - ChartLevel!
|
|
set - ChartSet!
|
Example
Query
query GetCharts(
$teamId: ID!,
$level: ChartLevel!,
$set: ChartSet!
) {
getCharts(
teamId: $teamId,
level: $level,
set: $set
) {
id
name
description
type
level
set
dataTableHeaders
visualizationParams {
visualization
vAxisTitle
hAxisTitle
pieHoleText
chartArea {
...ChartAreaFragment
}
legend {
...LegendFragment
}
colorGradient {
...ColorGradientFragment
}
isStacked
itemsPerPage
colors
abbreviateKey
showTable
unit
}
}
}
Variables
{"teamId": 4, "level": "TEAM", "set": "OLD"}
Response
{
"data": {
"getCharts": [
{
"id": "4",
"name": "xyz789",
"description": "xyz789",
"type": "GROUPED",
"level": "TEAM",
"set": ["OLD"],
"dataTableHeaders": ["abc123"],
"visualizationParams": VisualizationParams
}
]
}
}
getChartsLastUpdatedAt
Response
Returns a String
Arguments
Name | Description |
---|---|
level - ChartLevel!
|
|
set - ChartSet!
|
|
input - AnalyticsDashboardQueryInput!
|
Example
Query
query GetChartsLastUpdatedAt(
$level: ChartLevel!,
$set: ChartSet!,
$input: AnalyticsDashboardQueryInput!
) {
getChartsLastUpdatedAt(
level: $level,
set: $set,
input: $input
)
}
Variables
{
"level": "TEAM",
"set": "OLD",
"input": AnalyticsDashboardQueryInput
}
Response
{
"data": {
"getChartsLastUpdatedAt": "xyz789"
}
}
getComments
Response
Returns a GetCommentsResponse!
Arguments
Name | Description |
---|---|
input - GetCommentsInput!
|
Example
Query
query GetComments($input: GetCommentsInput!) {
getComments(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
parentId
documentId
originDocumentId
userId
user {
...UserFragment
}
message
resolved
resolvedAt
resolvedBy {
...UserFragment
}
repliesCount
createdAt
updatedAt
lastEditedAt
hashCode
commentedContent {
...CommentedContentFragment
}
}
}
}
Variables
{"input": GetCommentsInput}
Response
{
"data": {
"getComments": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [Comment]
}
}
}
getConfusionMatrixTables
Response
Returns [ProjectConfusionMatrixTable!]!
Arguments
Name | Description |
---|---|
input - GetConfusionMatrixTablesInput!
|
Example
Query
query GetConfusionMatrixTables($input: GetConfusionMatrixTablesInput!) {
getConfusionMatrixTables(input: $input) {
projectKind
confusionMatrixTable {
matrixClasses {
...MatrixClassFragment
}
data {
...MatrixDataFragment
}
}
}
}
Variables
{"input": GetConfusionMatrixTablesInput}
Response
{
"data": {
"getConfusionMatrixTables": [
{
"projectKind": "DOCUMENT_BASED",
"confusionMatrixTable": ConfusionMatrixTable
}
]
}
}
getCreateProjectAction
Description
Get details of a create project Action. Parameters: automationId
: ID of the Action
Response
Returns a CreateProjectAction!
Example
Query
query GetCreateProjectAction(
$teamId: ID!,
$actionId: ID!
) {
getCreateProjectAction(
teamId: $teamId,
actionId: $actionId
) {
id
name
teamId
appVersion
creatorId
lastRunAt
lastFinishedAt
externalObjectStorageId
externalObjectStorage {
id
cloudService
bucketId
bucketName
credentials {
...ExternalObjectStorageCredentialsFragment
}
securityToken
team {
...TeamFragment
}
projects {
...ProjectFragment
}
createdAt
updatedAt
}
externalObjectStoragePathInput
externalObjectStoragePathResult
projectTemplateId
projectTemplate {
id
name
teamId
team {
...TeamFragment
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
...ProjectTemplateProjectSettingFragment
}
projectTemplateTextDocumentSetting {
...ProjectTemplateTextDocumentSettingFragment
}
labelSetTemplates {
...LabelSetTemplateFragment
}
questionSets {
...QuestionSetFragment
}
createdAt
updatedAt
purpose
creatorId
}
assignments {
id
actionId
role
teamMember {
...TeamMemberFragment
}
teamMemberId
totalAssignedAsLabeler
totalAssignedAsReviewer
}
additionalTagNames
numberOfLabelersPerProject
numberOfReviewersPerProject
numberOfLabelersPerDocument
conflictResolutionMode
consensus
warnings
}
}
Variables
{
"teamId": "4",
"actionId": "4"
}
Response
{
"data": {
"getCreateProjectAction": {
"id": "4",
"name": "xyz789",
"teamId": 4,
"appVersion": "abc123",
"creatorId": "4",
"lastRunAt": "abc123",
"lastFinishedAt": "xyz789",
"externalObjectStorageId": 4,
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "abc123",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": "4",
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["xyz789"],
"numberOfLabelersPerProject": 123,
"numberOfReviewersPerProject": 123,
"numberOfLabelersPerDocument": 123,
"conflictResolutionMode": "MANUAL",
"consensus": 987,
"warnings": ["ASSIGNED_LABELER_NOT_MEET_CONSENSUS"]
}
}
}
getCreateProjectActionRunDetails
Description
Get all details of a create project Action run. Parameters: input
: ProjectCreationAutomationActivityDetailPaginationInput
Response
Arguments
Name | Description |
---|---|
input - CreateProjectActionRunDetailPaginationInput!
|
Example
Query
query GetCreateProjectActionRunDetails($input: CreateProjectActionRunDetailPaginationInput!) {
getCreateProjectActionRunDetails(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
status
runId
startAt
endAt
error {
...DatasaurErrorFragment
}
project
projectPath
documentNames
}
}
}
Variables
{"input": CreateProjectActionRunDetailPaginationInput}
Response
{
"data": {
"getCreateProjectActionRunDetails": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [CreateProjectActionRunDetail]
}
}
}
getCreateProjectActionRuns
Description
Get all activities of a create project Action. Parameters: input
: ProjectCreationAutomationPaginationInput
Response
Returns a CreateProjectActionRunPaginatedResponse!
Arguments
Name | Description |
---|---|
input - CreateProjectActionPaginationInput!
|
Example
Query
query GetCreateProjectActionRuns($input: CreateProjectActionPaginationInput!) {
getCreateProjectActionRuns(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
actionId
status
currentAppVersion
triggeredByUserId
triggeredBy {
...UserFragment
}
startAt
endAt
totalSuccess
totalFailure
externalObjectStorageId
externalObjectStoragePathInput
externalObjectStoragePathResult
projectTemplate
assignments
numberOfLabelersPerProject
numberOfReviewersPerProject
numberOfLabelersPerDocument
conflictResolutionMode
consensus
}
}
}
Variables
{"input": CreateProjectActionPaginationInput}
Response
{
"data": {
"getCreateProjectActionRuns": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [CreateProjectActionRun]
}
}
}
getCreateProjectActions
Description
Get all create project Actions of a team. Parameters: teamId
: ID of the team
Response
Returns [CreateProjectAction!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetCreateProjectActions($teamId: ID!) {
getCreateProjectActions(teamId: $teamId) {
id
name
teamId
appVersion
creatorId
lastRunAt
lastFinishedAt
externalObjectStorageId
externalObjectStorage {
id
cloudService
bucketId
bucketName
credentials {
...ExternalObjectStorageCredentialsFragment
}
securityToken
team {
...TeamFragment
}
projects {
...ProjectFragment
}
createdAt
updatedAt
}
externalObjectStoragePathInput
externalObjectStoragePathResult
projectTemplateId
projectTemplate {
id
name
teamId
team {
...TeamFragment
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
...ProjectTemplateProjectSettingFragment
}
projectTemplateTextDocumentSetting {
...ProjectTemplateTextDocumentSettingFragment
}
labelSetTemplates {
...LabelSetTemplateFragment
}
questionSets {
...QuestionSetFragment
}
createdAt
updatedAt
purpose
creatorId
}
assignments {
id
actionId
role
teamMember {
...TeamMemberFragment
}
teamMemberId
totalAssignedAsLabeler
totalAssignedAsReviewer
}
additionalTagNames
numberOfLabelersPerProject
numberOfReviewersPerProject
numberOfLabelersPerDocument
conflictResolutionMode
consensus
warnings
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getCreateProjectActions": [
{
"id": 4,
"name": "xyz789",
"teamId": 4,
"appVersion": "abc123",
"creatorId": 4,
"lastRunAt": "xyz789",
"lastFinishedAt": "xyz789",
"externalObjectStorageId": 4,
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": 4,
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["abc123"],
"numberOfLabelersPerProject": 123,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 987,
"warnings": ["ASSIGNED_LABELER_NOT_MEET_CONSENSUS"]
}
]
}
}
getCurrentUserTeamMember
Response
Returns a TeamMember!
Arguments
Name | Description |
---|---|
input - GetCurrentUserTeamMemberInput!
|
Example
Query
query GetCurrentUserTeamMember($input: GetCurrentUserTeamMemberInput!) {
getCurrentUserTeamMember(input: $input) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"input": GetCurrentUserTeamMemberInput}
Response
{
"data": {
"getCurrentUserTeamMember": {
"id": 4,
"user": User,
"role": TeamRole,
"invitationEmail": "xyz789",
"invitationStatus": "abc123",
"invitationKey": "xyz789",
"isDeleted": true,
"joinedDate": "abc123",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": "4"
}
}
}
getCustomAPI
Response
Returns a CustomAPI!
Arguments
Name | Description |
---|---|
customAPIId - ID!
|
Example
Query
query GetCustomAPI($customAPIId: ID!) {
getCustomAPI(customAPIId: $customAPIId) {
id
teamId
endpointURL
name
purpose
}
}
Variables
{"customAPIId": 4}
Response
{
"data": {
"getCustomAPI": {
"id": "4",
"teamId": 4,
"endpointURL": "xyz789",
"name": "xyz789",
"purpose": "ASR_API"
}
}
}
getCustomAPIs
Response
Returns [CustomAPI!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
purpose - CustomAPIPurpose
|
Example
Query
query GetCustomAPIs(
$teamId: ID!,
$purpose: CustomAPIPurpose
) {
getCustomAPIs(
teamId: $teamId,
purpose: $purpose
) {
id
teamId
endpointURL
name
purpose
}
}
Variables
{"teamId": "4", "purpose": "ASR_API"}
Response
{
"data": {
"getCustomAPIs": [
{
"id": "4",
"teamId": "4",
"endpointURL": "xyz789",
"name": "abc123",
"purpose": "ASR_API"
}
]
}
}
getCustomModelDefaultData
Response
Returns a CustomModelDefaultData!
Arguments
Name | Description |
---|---|
input - GetCustomModelDefaultDataInput!
|
Example
Query
query GetCustomModelDefaultData($input: GetCustomModelDefaultDataInput!) {
getCustomModelDefaultData(input: $input) {
name
maxContextWindow
maxTokens
maxTemperature
maxTopP
}
}
Variables
{"input": GetCustomModelDefaultDataInput}
Response
{
"data": {
"getCustomModelDefaultData": {
"name": "xyz789",
"maxContextWindow": 987,
"maxTokens": 987,
"maxTemperature": 123.45,
"maxTopP": 987.65
}
}
}
getCustomReportFilterSuggestions
Response
Returns [CustomReportSuggestions!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetCustomReportFilterSuggestions($teamId: ID!) {
getCustomReportFilterSuggestions(teamId: $teamId) {
column
suggestions {
id
label
groupId
}
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getCustomReportFilterSuggestions": [
{
"column": "DATE",
"suggestions": [CustomReportSuggestion]
}
]
}
}
getCustomReportMetricsGroupTables
Description
Returns custom report metrics group tables.
Response
Arguments
Name | Description |
---|---|
dataSet - CustomReportDataSet
|
Example
Query
query GetCustomReportMetricsGroupTables($dataSet: CustomReportDataSet) {
getCustomReportMetricsGroupTables(dataSet: $dataSet) {
id
name
description
clientSegments
metrics
filterStrategies
}
}
Variables
{"dataSet": "METABASE"}
Response
{
"data": {
"getCustomReportMetricsGroupTables": [
{
"id": "4",
"name": "abc123",
"description": "xyz789",
"clientSegments": ["DATE"],
"metrics": ["LABELS_ACCURACY"],
"filterStrategies": ["CONTAINS"]
}
]
}
}
getCustomReportPreview
Description
Preview custom report.
Response
Returns a CustomReportPreviewData!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
input - CustomReportBuilderInput!
|
Example
Query
query GetCustomReportPreview(
$teamId: ID!,
$input: CustomReportBuilderInput!
) {
getCustomReportPreview(
teamId: $teamId,
input: $input
) {
rows
}
}
Variables
{"teamId": 4, "input": CustomReportBuilderInput}
Response
{
"data": {
"getCustomReportPreview": {
"rows": [CustomReportRowScalar]
}
}
}
getCustomerPlan
getDataProgramming
Response
Returns a DataProgramming
Arguments
Name | Description |
---|---|
input - GetDataProgrammingInput
|
Example
Query
query GetDataProgramming($input: GetDataProgrammingInput) {
getDataProgramming(input: $input) {
id
provider
projectId
kind
labelsSignature
labels {
labelId
labelName
}
createdAt
updatedAt
lastGetPredictionsAt
}
}
Variables
{"input": GetDataProgrammingInput}
Response
{
"data": {
"getDataProgramming": {
"id": 4,
"provider": "SNORKEL",
"projectId": "4",
"kind": "DOCUMENT_BASED",
"labelsSignature": "abc123",
"labels": [DataProgrammingLabel],
"createdAt": "abc123",
"updatedAt": "abc123",
"lastGetPredictionsAt": "abc123"
}
}
}
getDataProgrammingLabelingFunctionAnalysis
Response
Arguments
Name | Description |
---|---|
input - GetDataProgrammingLabelingFunctionAnalysisInput!
|
Example
Query
query GetDataProgrammingLabelingFunctionAnalysis($input: GetDataProgrammingLabelingFunctionAnalysisInput!) {
getDataProgrammingLabelingFunctionAnalysis(input: $input) {
dataProgrammingId
labelingFunctionId
conflict
coverage
overlap
polarity
}
}
Variables
{"input": GetDataProgrammingLabelingFunctionAnalysisInput}
Response
{
"data": {
"getDataProgrammingLabelingFunctionAnalysis": [
{
"dataProgrammingId": 4,
"labelingFunctionId": "4",
"conflict": 123.45,
"coverage": 987.65,
"overlap": 987.65,
"polarity": [987]
}
]
}
}
getDataProgrammingLibraries
Response
Returns a DataProgrammingLibraries!
Example
Query
query GetDataProgrammingLibraries {
getDataProgrammingLibraries {
libraries
}
}
Response
{
"data": {
"getDataProgrammingLibraries": {
"libraries": ["abc123"]
}
}
}
getDataProgrammingPredictions
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - GetDataProgrammingPredictionsInput!
|
Example
Query
query GetDataProgrammingPredictions($input: GetDataProgrammingPredictionsInput!) {
getDataProgrammingPredictions(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": GetDataProgrammingPredictionsInput}
Response
{
"data": {
"getDataProgrammingPredictions": {
"id": "abc123",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
getDatasaurDinamicRowBased
Response
Returns a DatasaurDinamicRowBased
Arguments
Name | Description |
---|---|
input - GetDatasaurDinamicRowBasedInput!
|
Example
Query
query GetDatasaurDinamicRowBased($input: GetDatasaurDinamicRowBasedInput!) {
getDatasaurDinamicRowBased(input: $input) {
id
projectId
provider
inputColumnIds
questionColumnId
providerSetting
modelMetadata
trainingJobId
createdAt
updatedAt
}
}
Variables
{"input": GetDatasaurDinamicRowBasedInput}
Response
{
"data": {
"getDatasaurDinamicRowBased": {
"id": 4,
"projectId": "4",
"provider": "HUGGINGFACE",
"inputColumnIds": [987],
"questionColumnId": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": "4",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
getDatasaurDinamicRowBasedProviders
Response
Example
Query
query GetDatasaurDinamicRowBasedProviders {
getDatasaurDinamicRowBasedProviders {
name
provider
}
}
Response
{
"data": {
"getDatasaurDinamicRowBasedProviders": [
{
"name": "abc123",
"provider": "HUGGINGFACE"
}
]
}
}
getDatasaurDinamicTokenBased
Response
Returns a DatasaurDinamicTokenBased
Arguments
Name | Description |
---|---|
input - GetDatasaurDinamicTokenBasedInput!
|
Example
Query
query GetDatasaurDinamicTokenBased($input: GetDatasaurDinamicTokenBasedInput!) {
getDatasaurDinamicTokenBased(input: $input) {
id
projectId
provider
targetLabelSetIndex
providerSetting
modelMetadata
trainingJobId
createdAt
updatedAt
}
}
Variables
{"input": GetDatasaurDinamicTokenBasedInput}
Response
{
"data": {
"getDatasaurDinamicTokenBased": {
"id": "4",
"projectId": 4,
"provider": "HUGGINGFACE",
"targetLabelSetIndex": 987,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": "4",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
getDatasaurDinamicTokenBasedProviders
Response
Example
Query
query GetDatasaurDinamicTokenBasedProviders {
getDatasaurDinamicTokenBasedProviders {
name
provider
}
}
Response
{
"data": {
"getDatasaurDinamicTokenBasedProviders": [
{
"name": "xyz789",
"provider": "HUGGINGFACE"
}
]
}
}
getDatasaurPredictive
Response
Returns a DatasaurPredictive
Arguments
Name | Description |
---|---|
input - GetDatasaurPredictiveInput!
|
Example
Query
query GetDatasaurPredictive($input: GetDatasaurPredictiveInput!) {
getDatasaurPredictive(input: $input) {
id
projectId
provider
inputColumnIds
questionColumnId
providerSetting
modelMetadata
trainingJobId
createdAt
updatedAt
}
}
Variables
{"input": GetDatasaurPredictiveInput}
Response
{
"data": {
"getDatasaurPredictive": {
"id": 4,
"projectId": 4,
"provider": "SETFIT",
"inputColumnIds": [987],
"questionColumnId": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": "4",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
getDatasaurPredictiveProviders
Response
Returns [DatasaurPredictiveProviders!]!
Example
Query
query GetDatasaurPredictiveProviders {
getDatasaurPredictiveProviders {
name
provider
}
}
Response
{
"data": {
"getDatasaurPredictiveProviders": [
{
"name": "xyz789",
"provider": "SETFIT"
}
]
}
}
getDefaultExtensions
Response
Returns [DefaultExtension!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetDefaultExtensions($teamId: ID!) {
getDefaultExtensions(teamId: $teamId) {
kind
labelerExtensions {
extensionId
}
reviewerExtensions {
extensionId
}
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getDefaultExtensions": [
{
"kind": "DOCUMENT_BASED",
"labelerExtensions": [DefaultExtensionElement],
"reviewerExtensions": [DefaultExtensionElement]
}
]
}
}
getDocumentAnswerConflicts
Response
Returns [ConflictAnswer!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetDocumentAnswerConflicts($documentId: ID!) {
getDocumentAnswerConflicts(documentId: $documentId) {
questionId
parentQuestionId
nestedAnswerIndex
answers {
resolved
value
userIds
users {
...UserFragment
}
contributorInfos {
...ContributorInfoFragment
}
}
type
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getDocumentAnswerConflicts": [
{
"questionId": "4",
"parentQuestionId": 4,
"nestedAnswerIndex": 123,
"answers": [ConflictAnswerValue],
"type": "MULTIPLE"
}
]
}
}
getDocumentAnswers
Response
Returns a DocumentAnswer!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetDocumentAnswers($documentId: ID!) {
getDocumentAnswers(documentId: $documentId) {
documentId
answers
metadata {
path
labeledBy
createdAt
updatedAt
}
updatedAt
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getDocumentAnswers": {
"documentId": 4,
"answers": AnswerScalar,
"metadata": [AnswerMetadata],
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
getDocumentMetasByCabinetId
Response
Returns [DocumentMeta!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetDocumentMetasByCabinetId($cabinetId: ID!) {
getDocumentMetasByCabinetId(cabinetId: $cabinetId) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{"cabinetId": "4"}
Response
{
"data": {
"getDocumentMetasByCabinetId": [
{
"id": 123,
"cabinetId": 123,
"name": "abc123",
"width": "abc123",
"displayed": true,
"labelerRestricted": false,
"rowQuestionIndex": 987
}
]
}
}
getDocumentNames
Description
Returns the specified project's document names.
Response
Returns [String!]!
Example
Query
query GetDocumentNames(
$projectId: ID!,
$role: Role!
) {
getDocumentNames(
projectId: $projectId,
role: $role
)
}
Variables
{"projectId": "4", "role": "REVIEWER"}
Response
{"data": {"getDocumentNames": ["abc123"]}}
getDocumentPredictedAnswers
Response
Returns a DocumentAnswer!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetDocumentPredictedAnswers($documentId: ID!) {
getDocumentPredictedAnswers(documentId: $documentId) {
documentId
answers
metadata {
path
labeledBy
createdAt
updatedAt
}
updatedAt
}
}
Variables
{"documentId": 4}
Response
{
"data": {
"getDocumentPredictedAnswers": {
"documentId": "4",
"answers": AnswerScalar,
"metadata": [AnswerMetadata],
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
getDocumentQuestions
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetDocumentQuestions($projectId: ID!) {
getDocumentQuestions(projectId: $projectId) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"getDocumentQuestions": [
{
"id": 123,
"internalId": "xyz789",
"type": "DROPDOWN",
"name": "xyz789",
"label": "abc123",
"required": true,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
]
}
}
getDocumentSignature
getEditSentenceConflicts
Response
Returns an EditSentenceConflict!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetEditSentenceConflicts($documentId: ID!) {
getEditSentenceConflicts(documentId: $documentId) {
documentId
fileName
lines
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getEditSentenceConflicts": {
"documentId": "xyz789",
"fileName": "abc123",
"lines": [987]
}
}
}
getEvaluationMetric
Response
Returns [ProjectEvaluationMetric!]!
Arguments
Name | Description |
---|---|
input - GetEvaluationMetricInput!
|
Example
Query
query GetEvaluationMetric($input: GetEvaluationMetricInput!) {
getEvaluationMetric(input: $input) {
projectKind
metric {
accuracy
precision
recall
f1Score
lastUpdatedTime
}
}
}
Variables
{"input": GetEvaluationMetricInput}
Response
{
"data": {
"getEvaluationMetric": [
{
"projectKind": "DOCUMENT_BASED",
"metric": EvaluationMetric
}
]
}
}
getEvaluationRagConfigsByTeamId
Description
Retrieves the LLM evaluation RAG configs by the team id.
Response
Returns [LlmEvaluationRagConfig!]!
Example
Query
query GetEvaluationRagConfigsByTeamId(
$teamId: ID!,
$withDeleted: Boolean
) {
getEvaluationRagConfigsByTeamId(
teamId: $teamId,
withDeleted: $withDeleted
) {
id
llmEvaluationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmPlaygroundRagConfig {
id
llmApplicationId
llmRagConfig {
...LlmRagConfigFragment
}
name
createdAt
updatedAt
}
llmDeploymentRagConfig {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
llmRagConfigId
llmSnapshotRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
llmApplicationConfigurationRagConfig {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
...UserFragment
}
llmRagConfigId
llmRagConfig {
...LlmRagConfigFragment
}
createdAt
updatedAt
isDeleted
}
llmEvaluationExecutionId
ragConfigSourceType
createdAt
updatedAt
isDeleted
applicationName
}
}
Variables
{"teamId": "4", "withDeleted": true}
Response
{
"data": {
"getEvaluationRagConfigsByTeamId": [
{
"id": "4",
"llmEvaluationId": 4,
"llmApplication": LlmApplication,
"llmPlaygroundRagConfig": LlmApplicationPlaygroundRagConfig,
"llmDeploymentRagConfig": LlmApplicationDeployment,
"llmRagConfigId": 4,
"llmSnapshotRagConfig": LlmRagConfig,
"llmApplicationConfigurationRagConfig": LlmApplicationConfiguration,
"llmEvaluationExecutionId": 4,
"ragConfigSourceType": "APPLICATION_DEPLOYMENT",
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": true,
"applicationName": "xyz789"
}
]
}
}
getExportDeliveryStatus
Description
Return the export job information, specifically whether it succeed or failed, since all exports are done asynchronously.
Response
Returns a GetExportDeliveryStatusResult!
Arguments
Name | Description |
---|---|
exportId - ID!
|
Example
Query
query GetExportDeliveryStatus($exportId: ID!) {
getExportDeliveryStatus(exportId: $exportId) {
deliveryStatus
errors {
id
stack
args
message
}
}
}
Variables
{"exportId": 4}
Response
{
"data": {
"getExportDeliveryStatus": {
"deliveryStatus": "DELIVERED",
"errors": [JobError]
}
}
}
getExportable
Response
Returns an ExportableJSON!
Arguments
Name | Description |
---|---|
documentId - ID
|
Example
Query
query GetExportable($documentId: ID) {
getExportable(documentId: $documentId)
}
Variables
{"documentId": "4"}
Response
{"data": {"getExportable": ExportableJSON}}
getExtensions
Response
Returns [Extension!]
Arguments
Name | Description |
---|---|
cabinetId - String!
|
Example
Query
query GetExtensions($cabinetId: String!) {
getExtensions(cabinetId: $cabinetId) {
id
title
url
elementType
elementKind
documentType
}
}
Variables
{"cabinetId": "xyz789"}
Response
{
"data": {
"getExtensions": [
{
"id": "abc123",
"title": "xyz789",
"url": "abc123",
"elementType": "abc123",
"elementKind": "xyz789",
"documentType": "abc123"
}
]
}
}
getExternalFilesByApi
Response
Returns [ExternalFile!]!
Arguments
Name | Description |
---|---|
input - GetExternalFilesByApiInput!
|
Example
Query
query GetExternalFilesByApi($input: GetExternalFilesByApiInput!) {
getExternalFilesByApi(input: $input) {
name
url
}
}
Variables
{"input": GetExternalFilesByApiInput}
Response
{
"data": {
"getExternalFilesByApi": [
{
"name": "xyz789",
"url": "abc123"
}
]
}
}
getExternalId
Description
Required for AWS S3
Response
Returns an ExternalId!
Example
Query
query GetExternalId {
getExternalId {
externalId
timeLimit
}
}
Response
{
"data": {
"getExternalId": {
"externalId": "abc123",
"timeLimit": 123
}
}
}
getExternalObjectMeta
Response
Returns [ObjectMeta!]!
Arguments
Name | Description |
---|---|
externalObjectStorageId - ID!
|
|
objectKeys - [String!]!
|
Example
Query
query GetExternalObjectMeta(
$externalObjectStorageId: ID!,
$objectKeys: [String!]!
) {
getExternalObjectMeta(
externalObjectStorageId: $externalObjectStorageId,
objectKeys: $objectKeys
) {
createdAt
key
sizeInBytes
}
}
Variables
{
"externalObjectStorageId": 4,
"objectKeys": ["xyz789"]
}
Response
{
"data": {
"getExternalObjectMeta": [
{
"createdAt": "abc123",
"key": "abc123",
"sizeInBytes": 987
}
]
}
}
getExternalObjectStorages
Response
Returns [ExternalObjectStorage!]
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetExternalObjectStorages($teamId: ID!) {
getExternalObjectStorages(teamId: $teamId) {
id
cloudService
bucketId
bucketName
credentials {
roleArn
externalId
serviceAccount
tenantId
storageContainerUrl
region
tenantUsername
}
securityToken
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
projects {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
createdAt
updatedAt
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getExternalObjectStorages": [
{
"id": "4",
"cloudService": "AWS_S3",
"bucketId": "xyz789",
"bucketName": "xyz789",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "xyz789",
"team": Team,
"projects": [Project],
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
]
}
}
getFileTransformer
Response
Returns a FileTransformer!
Arguments
Name | Description |
---|---|
fileTransformerId - ID!
|
Example
Query
query GetFileTransformer($fileTransformerId: ID!) {
getFileTransformer(fileTransformerId: $fileTransformerId) {
id
name
content
transpiled
createdAt
updatedAt
language
purpose
readonly
externalId
warmup
}
}
Variables
{"fileTransformerId": "4"}
Response
{
"data": {
"getFileTransformer": {
"id": "4",
"name": "abc123",
"content": "xyz789",
"transpiled": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "abc123",
"warmup": false
}
}
}
getFileTransformers
Response
Returns [FileTransformer!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
purpose - FileTransformerPurpose
|
Example
Query
query GetFileTransformers(
$teamId: ID!,
$purpose: FileTransformerPurpose
) {
getFileTransformers(
teamId: $teamId,
purpose: $purpose
) {
id
name
content
transpiled
createdAt
updatedAt
language
purpose
readonly
externalId
warmup
}
}
Variables
{"teamId": "4", "purpose": "IMPORT"}
Response
{
"data": {
"getFileTransformers": [
{
"id": "4",
"name": "abc123",
"content": "xyz789",
"transpiled": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "xyz789",
"warmup": false
}
]
}
}
getFineTunedLlmModels
Description
Retrieves a list of all fine tuned LLM models of a team.
Response
Returns [LlmModel!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetFineTunedLlmModels($teamId: ID!) {
getFineTunedLlmModels(teamId: $teamId) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getFineTunedLlmModels": [
{
"id": 4,
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "abc123",
"url": "abc123",
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 123,
"defaultTemperature": 123.45,
"defaultTopP": 123.45,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": false,
"forceAnonymization": false,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getFreeTrialQuota
Response
Returns a FreeTrialQuotaResponse!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetFreeTrialQuota($teamId: ID!) {
getFreeTrialQuota(teamId: $teamId) {
runPromptCurrentAmount
runPromptMaxAmount
runPromptUnit
embedDocumentCurrentAmount
embedDocumentMaxAmount
embedDocumentUnit
embedDocumentUrlCurrentAmount
embedDocumentUrlMaxAmount
embedDocumentUrlUnit
llmEvaluationCurrentAmount
llmEvaluationMaxAmount
llmEvaluationUnit
llmFineTuningCreationCurrentAmount
llmFineTuningCreationMaxAmount
llmFineTuningCreationUnit
llmFineTuningDeploymentCurrentAmount
llmFineTuningDeploymentMaxAmount
llmFineTuningDeploymentUnit
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getFreeTrialQuota": {
"runPromptCurrentAmount": 123,
"runPromptMaxAmount": 987,
"runPromptUnit": "abc123",
"embedDocumentCurrentAmount": 987.65,
"embedDocumentMaxAmount": 987.65,
"embedDocumentUnit": "xyz789",
"embedDocumentUrlCurrentAmount": 987,
"embedDocumentUrlMaxAmount": 987,
"embedDocumentUrlUnit": "xyz789",
"llmEvaluationCurrentAmount": 123,
"llmEvaluationMaxAmount": 123,
"llmEvaluationUnit": "xyz789",
"llmFineTuningCreationCurrentAmount": 987,
"llmFineTuningCreationMaxAmount": 123,
"llmFineTuningCreationUnit": "abc123",
"llmFineTuningDeploymentCurrentAmount": 987,
"llmFineTuningDeploymentMaxAmount": 123,
"llmFineTuningDeploymentUnit": "abc123"
}
}
}
getGeneralWorkspaceSettings
Response
Returns a GeneralWorkspaceSettings!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetGeneralWorkspaceSettings($projectId: ID!) {
getGeneralWorkspaceSettings(projectId: $projectId) {
id
editorFontType
editorFontSize
editorLineSpacing
editorLineSpacingRatio
showIndexBar
showLabels
keepLabelBoxOpenAfterRelabel
jumpToNextDocumentOnSubmit
jumpToNextDocumentOnDocumentCompleted
jumpToNextSpanOnSubmit
multipleSelectLabels
}
}
Variables
{"projectId": "4"}
Response
{
"data": {
"getGeneralWorkspaceSettings": {
"id": "4",
"editorFontType": "SANS_SERIF",
"editorFontSize": "SMALL",
"editorLineSpacing": "DENSE",
"editorLineSpacingRatio": 987.65,
"showIndexBar": false,
"showLabels": "ALWAYS",
"keepLabelBoxOpenAfterRelabel": false,
"jumpToNextDocumentOnSubmit": false,
"jumpToNextDocumentOnDocumentCompleted": true,
"jumpToNextSpanOnSubmit": false,
"multipleSelectLabels": false
}
}
}
getGlobalWorkspacePermissionsSettings
Response
Returns a GlobalWorkspacePermissionsSettings!
Example
Query
query GetGlobalWorkspacePermissionsSettings {
getGlobalWorkspacePermissionsSettings {
allowCreateWorkspaces
allowInviteTeamMembers
allowChangeTeamMemberRoles
}
}
Response
{
"data": {
"getGlobalWorkspacePermissionsSettings": {
"allowCreateWorkspaces": true,
"allowInviteTeamMembers": false,
"allowChangeTeamMemberRoles": true
}
}
}
getGrammarCheckerServiceProviders
Response
Example
Query
query GetGrammarCheckerServiceProviders {
getGrammarCheckerServiceProviders {
id
name
description
}
}
Response
{
"data": {
"getGrammarCheckerServiceProviders": [
{
"id": "4",
"name": "xyz789",
"description": "abc123"
}
]
}
}
getGrammarMistakes
Response
Returns [GrammarMistake!]!
Arguments
Name | Description |
---|---|
input - GrammarCheckerInput!
|
Example
Query
query GetGrammarMistakes($input: GrammarCheckerInput!) {
getGrammarMistakes(input: $input) {
text
message
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
suggestions
}
}
Variables
{"input": GrammarCheckerInput}
Response
{
"data": {
"getGrammarMistakes": [
{
"text": "abc123",
"message": "abc123",
"position": TextRange,
"suggestions": ["xyz789"]
}
]
}
}
getGroundTruthSet
Response
Returns a GroundTruthSet!
Arguments
Name | Description |
---|---|
input - GetGroundTruthSetInput!
|
Example
Query
query GetGroundTruthSet($input: GetGroundTruthSetInput!) {
getGroundTruthSet(input: $input) {
id
name
teamId
createdByUserId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
itemsCount
createdAt
updatedAt
}
}
Variables
{"input": GetGroundTruthSetInput}
Response
{
"data": {
"getGroundTruthSet": {
"id": "4",
"name": "xyz789",
"teamId": "4",
"createdByUserId": 4,
"createdByUser": User,
"items": [GroundTruth],
"itemsCount": 987,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
getGuidelines
Response
Returns [Guideline!]!
Arguments
Name | Description |
---|---|
teamId - ID
|
Example
Query
query GetGuidelines($teamId: ID) {
getGuidelines(teamId: $teamId) {
id
name
content
project {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getGuidelines": [
{
"id": 4,
"name": "abc123",
"content": "xyz789",
"project": Project
}
]
}
}
getIAAInformation
Response
Returns an IAAInformation!
Arguments
Name | Description |
---|---|
input - IAAInput!
|
Example
Query
query GetIAAInformation($input: IAAInput!) {
getIAAInformation(input: $input) {
agreements {
userId1
userId2
teamMemberId1
teamMemberId2
agreement
}
lastUpdatedTime
}
}
Variables
{"input": IAAInput}
Response
{
"data": {
"getIAAInformation": {
"agreements": [IAA],
"lastUpdatedTime": "abc123"
}
}
}
getIAALastUpdatedAt
Response
Returns a String!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
labelSetSignatures - [String!]
|
|
method - IAAMethodName
|
|
projectIds - [ID!]
|
Example
Query
query GetIAALastUpdatedAt(
$teamId: ID!,
$labelSetSignatures: [String!],
$method: IAAMethodName,
$projectIds: [ID!]
) {
getIAALastUpdatedAt(
teamId: $teamId,
labelSetSignatures: $labelSetSignatures,
method: $method,
projectIds: $projectIds
)
}
Variables
{
"teamId": "4",
"labelSetSignatures": ["xyz789"],
"method": "COHENS_KAPPA",
"projectIds": ["4"]
}
Response
{"data": {"getIAALastUpdatedAt": "abc123"}}
getInvalidDocumentAnswerInfos
Response
Returns [InvalidAnswerInfo!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetInvalidDocumentAnswerInfos($cabinetId: ID!) {
getInvalidDocumentAnswerInfos(cabinetId: $cabinetId) {
documentId
fileName
lines
}
}
Variables
{"cabinetId": 4}
Response
{
"data": {
"getInvalidDocumentAnswerInfos": [
{
"documentId": "4",
"fileName": "abc123",
"lines": [987]
}
]
}
}
getInvalidRowAnswerInfos
Response
Returns [InvalidAnswerInfo!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetInvalidRowAnswerInfos($cabinetId: ID!) {
getInvalidRowAnswerInfos(cabinetId: $cabinetId) {
documentId
fileName
lines
}
}
Variables
{"cabinetId": "4"}
Response
{
"data": {
"getInvalidRowAnswerInfos": [
{
"documentId": "4",
"fileName": "abc123",
"lines": [123]
}
]
}
}
getInvoiceUrl
getJob
Description
Get a specific Job by its ID. Can be used to check the status of a ProjectLaunchJob
.
Example
Query
query GetJob($jobId: String!) {
getJob(jobId: $jobId) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"jobId": "xyz789"}
Response
{
"data": {
"getJob": {
"id": "abc123",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
}
}
getJobs
Response
Returns [Job]!
Arguments
Name | Description |
---|---|
jobIds - [String!]!
|
Example
Query
query GetJobs($jobIds: [String!]!) {
getJobs(jobIds: $jobIds) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"jobIds": ["abc123"]}
Response
{
"data": {
"getJobs": [
{
"id": "xyz789",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
]
}
}
getLLMAssistedLabelingProviders
Response
Arguments
Name | Description |
---|---|
input - LLMAssistedLabelingProvidersInput!
|
Example
Query
query GetLLMAssistedLabelingProviders($input: LLMAssistedLabelingProvidersInput!) {
getLLMAssistedLabelingProviders(input: $input) {
name
models {
model
maxTokens
}
inputFields {
key
name
type
required
maxValue
minValue
}
}
}
Variables
{"input": LLMAssistedLabelingProvidersInput}
Response
{
"data": {
"getLLMAssistedLabelingProviders": [
{
"name": "OPENAI",
"models": [LLMAssistedLabelingProviderModel],
"inputFields": [
LLMAssistedLabelingProviderInputField
]
}
]
}
}
getLabelErrorDetectionRowBasedSuggestions
Response
Arguments
Name | Description |
---|---|
input - GetLabelErrorDetectionRowBasedSuggestionsInput!
|
Example
Query
query GetLabelErrorDetectionRowBasedSuggestions($input: GetLabelErrorDetectionRowBasedSuggestionsInput!) {
getLabelErrorDetectionRowBasedSuggestions(input: $input) {
id
documentId
labelErrorDetectionId
line
errorPossibility
suggestedLabel
previousLabel
createdAt
updatedAt
}
}
Variables
{"input": GetLabelErrorDetectionRowBasedSuggestionsInput}
Response
{
"data": {
"getLabelErrorDetectionRowBasedSuggestions": [
{
"id": 4,
"documentId": "4",
"labelErrorDetectionId": 4,
"line": 123,
"errorPossibility": 123.45,
"suggestedLabel": "xyz789",
"previousLabel": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
getLabelSetTemplate
Description
Returns a single labelset template.
Response
Returns a LabelSetTemplate
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLabelSetTemplate($id: ID!) {
getLabelSetTemplate(id: $id) {
id
name
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
type
items {
id
labelSetTemplateId
index
parentIndex
name
description
options {
...LabelSetConfigOptionsFragment
}
arrowLabelRequired
required
multipleChoice
type
minLength
maxLength
pattern
min
max
step
multiline
hint
theme
bindToColumn
format
defaultValue
createdAt
updatedAt
activationConditionLogic
}
count
createdAt
updatedAt
leafOnlyOption
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLabelSetTemplate": {
"id": 4,
"name": "abc123",
"owner": User,
"type": "QUESTION",
"items": [LabelSetTemplateItem],
"count": 987,
"createdAt": "abc123",
"updatedAt": "abc123",
"leafOnlyOption": false
}
}
}
getLabelSetTemplates
Description
Returns a list of labelset templates.
Response
Returns a GetLabelSetTemplatesResponse!
Arguments
Name | Description |
---|---|
input - GetLabelSetTemplatesPaginatedInput!
|
Example
Query
query GetLabelSetTemplates($input: GetLabelSetTemplatesPaginatedInput!) {
getLabelSetTemplates(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
}
}
Variables
{"input": GetLabelSetTemplatesPaginatedInput}
Response
{
"data": {
"getLabelSetTemplates": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LabelSetTemplate]
}
}
}
getLabelSetsByTeamId
Response
Returns [LabelSet!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLabelSetsByTeamId($teamId: ID!) {
getLabelSetsByTeamId(teamId: $teamId) {
id
name
index
signature
tagItems {
id
parentId
tagName
desc
color
type
arrowRules {
...LabelClassArrowRuleFragment
}
}
lastUsedBy {
projectId
name
}
arrowLabelRequired
leafOnlyOption
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLabelSetsByTeamId": [
{
"id": 4,
"name": "xyz789",
"index": 123,
"signature": "abc123",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": true,
"leafOnlyOption": true
}
]
}
}
getLabelingAgentJobs
Response
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetLabelingAgentJobs($projectId: ID!) {
getLabelingAgentJobs(projectId: $projectId) {
parentJobId
jobId
projectId
projectName
projectResourceId
labelingAgentId
labelingAgent {
id
agentId
agentType
name
}
jobType
jobStatus
progress
errors {
id
stack
args
message
}
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"getLabelingAgentJobs": [
{
"parentJobId": "xyz789",
"jobId": "abc123",
"projectId": "xyz789",
"projectName": "abc123",
"projectResourceId": "abc123",
"labelingAgentId": "abc123",
"labelingAgent": LabelingAgent,
"jobType": "CABINET_CREATION",
"jobStatus": "DELIVERED",
"progress": 987,
"errors": [JobError]
}
]
}
}
getLabelingAgentTeamMembers
Response
Returns [TeamMember!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLabelingAgentTeamMembers($teamId: ID!) {
getLabelingAgentTeamMembers(teamId: $teamId) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getLabelingAgentTeamMembers": [
{
"id": "4",
"user": User,
"role": TeamRole,
"invitationEmail": "xyz789",
"invitationStatus": "xyz789",
"invitationKey": "abc123",
"isDeleted": false,
"joinedDate": "xyz789",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": "4"
}
]
}
}
getLabelingAgents
Response
Returns [LabelingAgent!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLabelingAgents($teamId: ID!) {
getLabelingAgents(teamId: $teamId) {
id
agentId
agentType
name
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLabelingAgents": [
{
"id": 4,
"agentId": "xyz789",
"agentType": "LLM_LABS",
"name": "abc123"
}
]
}
}
getLabelingFunction
Response
Returns a LabelingFunction!
Arguments
Name | Description |
---|---|
input - GetLabelingFunctionInput!
|
Example
Query
query GetLabelingFunction($input: GetLabelingFunctionInput!) {
getLabelingFunction(input: $input) {
id
dataProgrammingId
heuristicArgument
annotatorArgument
name
content
active
createdAt
updatedAt
}
}
Variables
{"input": GetLabelingFunctionInput}
Response
{
"data": {
"getLabelingFunction": {
"id": "4",
"dataProgrammingId": "4",
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "abc123",
"active": false,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
getLabelingFunctions
Response
Returns [LabelingFunction!]
Arguments
Name | Description |
---|---|
input - GetLabelingFunctionsInput!
|
Example
Query
query GetLabelingFunctions($input: GetLabelingFunctionsInput!) {
getLabelingFunctions(input: $input) {
id
dataProgrammingId
heuristicArgument
annotatorArgument
name
content
active
createdAt
updatedAt
}
}
Variables
{"input": GetLabelingFunctionsInput}
Response
{
"data": {
"getLabelingFunctions": [
{
"id": "4",
"dataProgrammingId": "4",
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "xyz789",
"content": "xyz789",
"active": true,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
]
}
}
getLabelingFunctionsPairKappa
Response
Returns a GetLabelingFunctionsPairKappaOutput!
Arguments
Name | Description |
---|---|
input - GetLabelingFunctionsPairKappaInput!
|
Example
Query
query GetLabelingFunctionsPairKappa($input: GetLabelingFunctionsPairKappaInput!) {
getLabelingFunctionsPairKappa(input: $input) {
labelingFunctionPairKappas {
labelingFunctionId1
labelingFunctionId2
kappa
}
lastCalculatedAt
}
}
Variables
{"input": GetLabelingFunctionsPairKappaInput}
Response
{
"data": {
"getLabelingFunctionsPairKappa": {
"labelingFunctionPairKappas": [
LabelingFunctionPairKappa
],
"lastCalculatedAt": "xyz789"
}
}
}
getLabelingStatusForCabinet
Response
Returns a LabelingStatus!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetLabelingStatusForCabinet($projectId: ID!) {
getLabelingStatusForCabinet(projectId: $projectId) {
labeler {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
isCompleted
isStarted
statistic {
id
numberOfDocuments
numberOfTouchedDocuments
numberOfCompletedDocuments
numberOfSentences
numberOfTouchedSentences
documentIds
completedDocumentIds
touchedDocumentIds
totalLabelsApplied
numberOfAcceptedLabels
numberOfRejectedLabels
numberOfUnresolvedLabels
totalTimeSpent
}
statisticsToShow {
key
values {
...StatisticItemValueFragment
}
}
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"getLabelingStatusForCabinet": {
"labeler": TeamMember,
"isCompleted": true,
"isStarted": true,
"statistic": LabelingStatusStatistic,
"statisticsToShow": [StatisticItem]
}
}
}
getLabelsPaginated
Response
Returns a GetLabelsPaginatedResponse!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
input - GetLabelsPaginatedInput!
|
|
signature - String
|
Example
Query
query GetLabelsPaginated(
$documentId: ID!,
$input: GetLabelsPaginatedInput!,
$signature: String
) {
getLabelsPaginated(
documentId: $documentId,
input: $input,
signature: $signature
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes
}
}
Variables
{
"documentId": 4,
"input": GetLabelsPaginatedInput,
"signature": "xyz789"
}
Response
{
"data": {
"getLabelsPaginated": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [TextLabelScalar]
}
}
}
getLastLlmApplicationDeployment
Response
Returns a LlmApplicationDeployment
Arguments
Name | Description |
---|---|
llmApplicationId - ID!
|
Example
Query
query GetLastLlmApplicationDeployment($llmApplicationId: ID!) {
getLastLlmApplicationDeployment(llmApplicationId: $llmApplicationId) {
id
deployedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmApplicationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
type
endpoint
}
isDeleted
}
}
Variables
{"llmApplicationId": 4}
Response
{
"data": {
"getLastLlmApplicationDeployment": {
"id": 4,
"deployedByUser": User,
"llmApplicationId": 4,
"llmApplication": LlmApplication,
"llmRagConfig": LlmRagConfig,
"numberOfCalls": 123,
"numberOfTokens": 123,
"numberOfInputTokens": 987,
"numberOfOutputTokens": 987,
"deployedAt": "xyz789",
"name": "xyz789",
"status": "SUSPENDED",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": false
}
}
}
getLatestInfoBar
Response
Returns an InfoBar
Example
Query
query GetLatestInfoBar {
getLatestInfoBar {
id
content
isVisible
createdAt
updatedAt
}
}
Response
{
"data": {
"getLatestInfoBar": {
"id": "4",
"content": "abc123",
"isVisible": false,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
getLatestJoinedTeam
Response
Returns a Team
Example
Query
query GetLatestJoinedTeam {
getLatestJoinedTeam {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Response
{
"data": {
"getLatestJoinedTeam": {
"id": "4",
"logoURL": "abc123",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
getLlmApplication
Response
Returns a LlmApplication
Arguments
Name | Description |
---|---|
input - GetLlmApplicationInput!
|
Example
Query
query GetLlmApplication($input: GetLlmApplicationInput!) {
getLlmApplication(input: $input) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
totalRagConfigs
}
}
Variables
{"input": GetLlmApplicationInput}
Response
{
"data": {
"getLlmApplication": {
"id": 4,
"teamId": 4,
"createdByUser": User,
"name": "abc123",
"status": "DEPLOYED",
"createdAt": "xyz789",
"updatedAt": "abc123",
"llmApplicationDeployment": LlmApplicationDeployment,
"totalRagConfigs": 987
}
}
}
getLlmApplicationConfiguration
Response
Returns a LlmApplicationConfiguration!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmApplicationConfiguration($id: ID!) {
getLlmApplicationConfiguration(id: $id) {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmRagConfigId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmApplicationConfiguration": {
"id": 4,
"name": "abc123",
"teamId": 4,
"createdByUserId": "4",
"updatedByUserId": 4,
"updatedByUser": User,
"llmRagConfigId": "4",
"llmRagConfig": LlmRagConfig,
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": false
}
}
}
getLlmApplicationConfigurations
Response
Returns [LlmApplicationConfiguration!]!
Example
Query
query GetLlmApplicationConfigurations(
$teamId: ID!,
$withDeleted: Boolean
) {
getLlmApplicationConfigurations(
teamId: $teamId,
withDeleted: $withDeleted
) {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmRagConfigId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"teamId": "4", "withDeleted": false}
Response
{
"data": {
"getLlmApplicationConfigurations": [
{
"id": "4",
"name": "xyz789",
"teamId": 4,
"createdByUserId": 4,
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": "4",
"llmRagConfig": LlmRagConfig,
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": true
}
]
}
}
getLlmApplicationDeployment
Response
Returns a LlmApplicationDeployment
Arguments
Name | Description |
---|---|
input - GetLlmApplicationDeploymentInput!
|
Example
Query
query GetLlmApplicationDeployment($input: GetLlmApplicationDeploymentInput!) {
getLlmApplicationDeployment(input: $input) {
id
deployedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmApplicationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
type
endpoint
}
isDeleted
}
}
Variables
{"input": GetLlmApplicationDeploymentInput}
Response
{
"data": {
"getLlmApplicationDeployment": {
"id": 4,
"deployedByUser": User,
"llmApplicationId": 4,
"llmApplication": LlmApplication,
"llmRagConfig": LlmRagConfig,
"numberOfCalls": 123,
"numberOfTokens": 123,
"numberOfInputTokens": 123,
"numberOfOutputTokens": 123,
"deployedAt": "xyz789",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "abc123",
"updatedAt": "abc123",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": true
}
}
}
getLlmApplicationDeploymentUsageTotalCost
Response
Returns a Float!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
type - GqlLlmUsageType!
|
|
sourceId - ID!
|
Example
Query
query GetLlmApplicationDeploymentUsageTotalCost(
$teamId: ID!,
$type: GqlLlmUsageType!,
$sourceId: ID!
) {
getLlmApplicationDeploymentUsageTotalCost(
teamId: $teamId,
type: $type,
sourceId: $sourceId
)
}
Variables
{
"teamId": "4",
"type": "VECTOR_STORE",
"sourceId": 4
}
Response
{"data": {"getLlmApplicationDeploymentUsageTotalCost": 987.65}}
getLlmApplicationDeployments
Response
Returns [LlmApplicationDeployment!]!
Example
Query
query GetLlmApplicationDeployments(
$teamId: ID!,
$withDeleted: Boolean
) {
getLlmApplicationDeployments(
teamId: $teamId,
withDeleted: $withDeleted
) {
id
deployedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmApplicationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
type
endpoint
}
isDeleted
}
}
Variables
{"teamId": 4, "withDeleted": false}
Response
{
"data": {
"getLlmApplicationDeployments": [
{
"id": 4,
"deployedByUser": User,
"llmApplicationId": "4",
"llmApplication": LlmApplication,
"llmRagConfig": LlmRagConfig,
"numberOfCalls": 987,
"numberOfTokens": 987,
"numberOfInputTokens": 123,
"numberOfOutputTokens": 987,
"deployedAt": "xyz789",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "abc123",
"updatedAt": "xyz789",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": true
}
]
}
}
getLlmApplicationDeploymentsPaginated
Response
Arguments
Name | Description |
---|---|
input - GetLlmApplicationDeploymentsPaginatedInput!
|
Example
Query
query GetLlmApplicationDeploymentsPaginated($input: GetLlmApplicationDeploymentsPaginatedInput!) {
getLlmApplicationDeploymentsPaginated(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
}
}
Variables
{"input": GetLlmApplicationDeploymentsPaginatedInput}
Response
{
"data": {
"getLlmApplicationDeploymentsPaginated": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmApplicationDeployment]
}
}
}
getLlmApplicationPlaygroundPrompt
Response
Returns a LlmApplicationPlaygroundPrompt
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmApplicationPlaygroundPrompt($id: ID!) {
getLlmApplicationPlaygroundPrompt(id: $id) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmApplicationPlaygroundPrompt": {
"id": "4",
"llmApplicationId": "4",
"name": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
}
}
getLlmApplicationPlaygroundPromptMessages
Response
Arguments
Name | Description |
---|---|
llmApplicationPlaygroundPromptId - ID!
|
Example
Query
query GetLlmApplicationPlaygroundPromptMessages($llmApplicationPlaygroundPromptId: ID!) {
getLlmApplicationPlaygroundPromptMessages(llmApplicationPlaygroundPromptId: $llmApplicationPlaygroundPromptId) {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
id
llmFileId
llmFile {
...LlmFileFragment
}
createdAt
updatedAt
llmApplicationPlaygroundPromptMessageId
}
createdAt
updatedAt
}
}
Variables
{"llmApplicationPlaygroundPromptId": "4"}
Response
{
"data": {
"getLlmApplicationPlaygroundPromptMessages": [
{
"id": 4,
"llmApplicationPlaygroundPromptId": 4,
"content": "abc123",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachment
],
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
getLlmApplicationPlaygroundPrompts
Response
Arguments
Name | Description |
---|---|
llmApplicationId - ID!
|
Example
Query
query GetLlmApplicationPlaygroundPrompts($llmApplicationId: ID!) {
getLlmApplicationPlaygroundPrompts(llmApplicationId: $llmApplicationId) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{"llmApplicationId": "4"}
Response
{
"data": {
"getLlmApplicationPlaygroundPrompts": [
{
"id": 4,
"llmApplicationId": "4",
"name": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
]
}
}
getLlmApplicationPlaygroundRagConfig
Response
Returns a LlmApplicationPlaygroundRagConfig!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmApplicationPlaygroundRagConfig($id: ID!) {
getLlmApplicationPlaygroundRagConfig(id: $id) {
id
llmApplicationId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmApplicationPlaygroundRagConfig": {
"id": 4,
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
getLlmApplicationPlaygroundRagConfigModelDetails
Response
Arguments
Name | Description |
---|---|
llmApplicationId - ID!
|
Example
Query
query GetLlmApplicationPlaygroundRagConfigModelDetails($llmApplicationId: ID!) {
getLlmApplicationPlaygroundRagConfigModelDetails(llmApplicationId: $llmApplicationId) {
llmModelDetails {
modelId
modelType
status
instanceType
instanceTypeDetail {
...LlmInstanceTypeDetailFragment
}
}
llmEmbeddingModelDetails {
modelId
modelType
status
instanceType
instanceTypeDetail {
...LlmInstanceTypeDetailFragment
}
}
}
}
Variables
{"llmApplicationId": 4}
Response
{
"data": {
"getLlmApplicationPlaygroundRagConfigModelDetails": {
"llmModelDetails": [LlmModelDetail],
"llmEmbeddingModelDetails": [LlmModelDetail]
}
}
}
getLlmApplicationPlaygroundRagConfigs
Response
Arguments
Name | Description |
---|---|
llmApplicationId - ID!
|
Example
Query
query GetLlmApplicationPlaygroundRagConfigs($llmApplicationId: ID!) {
getLlmApplicationPlaygroundRagConfigs(llmApplicationId: $llmApplicationId) {
id
llmApplicationId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"llmApplicationId": "4"}
Response
{
"data": {
"getLlmApplicationPlaygroundRagConfigs": [
{
"id": 4,
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getLlmApplications
Response
Returns a LlmApplicationPaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetLlmApplicationsPaginatedInput!
|
Example
Query
query GetLlmApplications($input: GetLlmApplicationsPaginatedInput!) {
getLlmApplications(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
}
}
Variables
{"input": GetLlmApplicationsPaginatedInput}
Response
{
"data": {
"getLlmApplications": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmApplication]
}
}
}
getLlmApplicationsByTeam
Response
Returns [LlmApplication!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLlmApplicationsByTeam($teamId: ID!) {
getLlmApplicationsByTeam(teamId: $teamId) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
totalRagConfigs
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLlmApplicationsByTeam": [
{
"id": "4",
"teamId": "4",
"createdByUser": User,
"name": "abc123",
"status": "DEPLOYED",
"createdAt": "abc123",
"updatedAt": "xyz789",
"llmApplicationDeployment": LlmApplicationDeployment,
"totalRagConfigs": 987
}
]
}
}
getLlmBaseModels
Description
Retrieves a list of all LLM base models of a team.
Response
Returns [LlmBaseModel!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLlmBaseModels($teamId: ID!) {
getLlmBaseModels(teamId: $teamId) {
id
baseModelIdentifier
customModelIdentifier
teamId
name
serviceProvider
provider
region
methodTypes
supportedDatasetTypes
supportedHyperparameters {
name
actualName
type
minValue
maxValue
defaultValue
}
pricingModels {
id
llmBaseModelId
unitPrice
unitType
unitPurpose
}
deployable
requireSubscriptionPlan
supportsValidationDataset
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getLlmBaseModels": [
{
"id": 4,
"baseModelIdentifier": "abc123",
"customModelIdentifier": "abc123",
"teamId": "4",
"name": "xyz789",
"serviceProvider": "AMAZON_BEDROCK",
"provider": "AMAZON",
"region": "xyz789",
"methodTypes": ["FINE_TUNING"],
"supportedDatasetTypes": ["COMPLETION"],
"supportedHyperparameters": [
LlmBaseModelHyperparameter
],
"pricingModels": [LlmBaseModelPricingModel],
"deployable": true,
"requireSubscriptionPlan": true,
"supportsValidationDataset": false
}
]
}
}
getLlmEmbeddingModelDetails
Response
Returns [LlmModelDetail!]!
Example
Query
query GetLlmEmbeddingModelDetails(
$teamId: ID!,
$ids: [ID!]
) {
getLlmEmbeddingModelDetails(
teamId: $teamId,
ids: $ids
) {
modelId
modelType
status
instanceType
instanceTypeDetail {
name
cost {
...LlmInstanceCostDetailFragment
}
createdAt
}
}
}
Variables
{
"teamId": "4",
"ids": ["4"]
}
Response
{
"data": {
"getLlmEmbeddingModelDetails": [
{
"modelId": 4,
"modelType": "LLM_MODEL",
"status": "AVAILABLE",
"instanceType": "abc123",
"instanceTypeDetail": LlmInstanceTypeDetail
}
]
}
}
getLlmEmbeddingModelMetadatas
Response
Returns [LlmModelMetadata!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLlmEmbeddingModelMetadatas($teamId: ID!) {
getLlmEmbeddingModelMetadatas(teamId: $teamId) {
providers
name
displayName
description
type
status
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLlmEmbeddingModelMetadatas": [
{
"providers": ["AMAZON_BEDROCK"],
"name": "abc123",
"displayName": "abc123",
"description": "abc123",
"type": "QUESTION_ANSWERING",
"status": "AVAILABLE"
}
]
}
}
getLlmEmbeddingModelSpec
Response
Returns a LlmModelSpec!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
provider - GqlLlmModelProvider!
|
|
name - String!
|
Example
Query
query GetLlmEmbeddingModelSpec(
$teamId: ID!,
$provider: GqlLlmModelProvider!,
$name: String!
) {
getLlmEmbeddingModelSpec(
teamId: $teamId,
provider: $provider,
name: $name
) {
supportedInferenceInstanceTypes
supportedInferenceInstanceTypeDetails {
name
cost {
...LlmInstanceCostDetailFragment
}
createdAt
}
}
}
Variables
{
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789"
}
Response
{
"data": {
"getLlmEmbeddingModelSpec": {
"supportedInferenceInstanceTypes": [
"xyz789"
],
"supportedInferenceInstanceTypeDetails": [
LlmInstanceTypeDetail
]
}
}
}
getLlmEmbeddingModels
Response
Returns [LlmEmbeddingModel!]!
Example
Query
query GetLlmEmbeddingModels(
$teamId: ID!,
$includeDefault: Boolean
) {
getLlmEmbeddingModels(
teamId: $teamId,
includeDefault: $includeDefault
) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{"teamId": 4, "includeDefault": false}
Response
{
"data": {
"getLlmEmbeddingModels": [
{
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "abc123",
"url": "xyz789",
"maxTokens": 123,
"dimensions": 987,
"deployableModelId": "abc123",
"isModelDeployable": false,
"createdAt": "xyz789",
"updatedAt": "abc123",
"variant": "META",
"customDimension": false
}
]
}
}
getLlmEvaluation
Description
Retrieves one LlmEvaluation
based on the provided id.
Response
Returns a LlmEvaluation!
Arguments
Name | Description |
---|---|
input - GetLlmEvaluationInput!
|
Example
Query
query GetLlmEvaluation($input: GetLlmEvaluationInput!) {
getLlmEvaluation(input: $input) {
id
name
teamId
projectId
kind
status
creationProgress {
status
jobId
error
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastScoredByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
totalPrompts
lastLlmEvaluationExecution {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"input": GetLlmEvaluationInput}
Response
{
"data": {
"getLlmEvaluation": {
"id": "4",
"name": "abc123",
"teamId": "4",
"projectId": 4,
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": true,
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": false,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 987,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
}
}
getLlmEvaluationAutomatedAvailableStrategies
Description
Returns the available automated LLM evaluation strategies.
Response
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLlmEvaluationAutomatedAvailableStrategies($teamId: ID!) {
getLlmEvaluationAutomatedAvailableStrategies(teamId: $teamId) {
name
displayName
provider
version
description
deprecated
evaluatorModelTypes
minValue
maxValue
invertedValue
requiresContext
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getLlmEvaluationAutomatedAvailableStrategies": [
{
"name": "xyz789",
"displayName": "abc123",
"provider": "xyz789",
"version": "xyz789",
"description": "abc123",
"deprecated": false,
"evaluatorModelTypes": ["LLM_MODEL"],
"minValue": 123.45,
"maxValue": 987.65,
"invertedValue": true,
"requiresContext": true
}
]
}
}
getLlmEvaluationCreationProgress
Description
Retrieves the LLM evaluation creation progress.
Response
Returns a LlmEvaluationCreationProgress!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmEvaluationCreationProgress($id: ID!) {
getLlmEvaluationCreationProgress(id: $id) {
status
jobId
error
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmEvaluationCreationProgress": {
"status": "PREPARING",
"jobId": "xyz789",
"error": "xyz789"
}
}
}
getLlmEvaluationDetail
Description
Retrieves the LLM evaluation detail based on the provided id.
Response
Returns a LlmEvaluationDetailPaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetLlmEvaluationDetailPaginatedInput!
|
Example
Query
query GetLlmEvaluationDetail($input: GetLlmEvaluationDetailPaginatedInput!) {
getLlmEvaluationDetail(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
prompt
expectedCompletion
externalRagConfig
completions {
...LlmEvaluationGeneratedAnswerFragment
}
scores {
...LlmEvaluationAnswerScoreFragment
}
}
}
}
Variables
{"input": GetLlmEvaluationDetailPaginatedInput}
Response
{
"data": {
"getLlmEvaluationDetail": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LlmEvaluationDetail]
}
}
}
getLlmEvaluationEvaluatorsByLlmEvaluationId
Response
Returns [LlmEvaluationEvaluator!]!
Arguments
Name | Description |
---|---|
llmEvaluationId - ID!
|
Example
Query
query GetLlmEvaluationEvaluatorsByLlmEvaluationId($llmEvaluationId: ID!) {
getLlmEvaluationEvaluatorsByLlmEvaluationId(llmEvaluationId: $llmEvaluationId) {
id
llmEvaluationId
evaluator
metric
provider
version
llmModelId
llmModel {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
...LlmModelFineTuningJobFragment
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
llmEmbeddingModelId
llmEmbeddingModel {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
alertExpression
minimumScore
maximumScore
prompt
customName
createdAt
updatedAt
isDeleted
}
}
Variables
{"llmEvaluationId": 4}
Response
{
"data": {
"getLlmEvaluationEvaluatorsByLlmEvaluationId": [
{
"id": "4",
"llmEvaluationId": 4,
"evaluator": "xyz789",
"metric": "xyz789",
"provider": "xyz789",
"version": "xyz789",
"llmModelId": 4,
"llmModel": LlmModel,
"llmEmbeddingModelId": 4,
"llmEmbeddingModel": LlmEmbeddingModel,
"alertExpression": "xyz789",
"minimumScore": 123,
"maximumScore": 987,
"prompt": "abc123",
"customName": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false
}
]
}
}
getLlmEvaluationExecutionsByLlmEvaluationId
Response
Returns [LlmEvaluationExecution!]!
Arguments
Name | Description |
---|---|
llmEvaluationId - ID!
|
Example
Query
query GetLlmEvaluationExecutionsByLlmEvaluationId($llmEvaluationId: ID!) {
getLlmEvaluationExecutionsByLlmEvaluationId(llmEvaluationId: $llmEvaluationId) {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
Variables
{"llmEvaluationId": 4}
Response
{
"data": {
"getLlmEvaluationExecutionsByLlmEvaluationId": [
{
"id": 4,
"llmEvaluationId": 4,
"status": "PREPARING",
"errorMessage": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": true
}
]
}
}
getLlmEvaluationGeneratedAnswerContextsByLlmEvaluationId
Response
Arguments
Name | Description |
---|---|
llmEvaluationId - ID!
|
Example
Query
query GetLlmEvaluationGeneratedAnswerContextsByLlmEvaluationId($llmEvaluationId: ID!) {
getLlmEvaluationGeneratedAnswerContextsByLlmEvaluationId(llmEvaluationId: $llmEvaluationId) {
id
llmEvaluationGeneratedAnswerId
content
metadata
score
createdAt
updatedAt
isDeleted
}
}
Variables
{"llmEvaluationId": "4"}
Response
{
"data": {
"getLlmEvaluationGeneratedAnswerContextsByLlmEvaluationId": [
{
"id": "4",
"llmEvaluationGeneratedAnswerId": "4",
"content": "xyz789",
"metadata": "abc123",
"score": 987.65,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false
}
]
}
}
getLlmEvaluationGeneratedAnswersByLlmEvaluationId
Description
Finds the LLM evaluation generated answers by evaluation id.
Response
Returns [LlmEvaluationGeneratedAnswer!]!
Arguments
Name | Description |
---|---|
llmEvaluationId - ID!
|
Example
Query
query GetLlmEvaluationGeneratedAnswersByLlmEvaluationId($llmEvaluationId: ID!) {
getLlmEvaluationGeneratedAnswersByLlmEvaluationId(llmEvaluationId: $llmEvaluationId) {
id
llmEvaluationPromptId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
llmRagConfigId
answer
llmEvaluationAnswerScores {
id
llmEvaluationEvaluatorId
llmEvaluationGeneratedAnswerId
score
reason
alertExpression
createdAt
updatedAt
isDeleted
}
processingTime
cost
createdAt
updatedAt
isDeleted
}
}
Variables
{"llmEvaluationId": 4}
Response
{
"data": {
"getLlmEvaluationGeneratedAnswersByLlmEvaluationId": [
{
"id": "4",
"llmEvaluationPromptId": 4,
"llmRagConfig": LlmRagConfig,
"llmRagConfigId": "4",
"answer": "abc123",
"llmEvaluationAnswerScores": [
LlmEvaluationAnswerScore
],
"processingTime": 987.65,
"cost": 987.65,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": true
}
]
}
}
getLlmEvaluationPromptsByLlmEvaluationId
Description
Retrieves the LLM evaluation prompts by the LLM evaluation id.
Response
Returns [LlmEvaluationPrompt!]!
Arguments
Name | Description |
---|---|
llmEvaluationId - ID!
|
Example
Query
query GetLlmEvaluationPromptsByLlmEvaluationId($llmEvaluationId: ID!) {
getLlmEvaluationPromptsByLlmEvaluationId(llmEvaluationId: $llmEvaluationId) {
id
llmEvaluationId
prompt
expectedCompletion
externalRagConfig
externalSources
createdAt
updatedAt
isDeleted
}
}
Variables
{"llmEvaluationId": "4"}
Response
{
"data": {
"getLlmEvaluationPromptsByLlmEvaluationId": [
{
"id": 4,
"llmEvaluationId": 4,
"prompt": "xyz789",
"expectedCompletion": "xyz789",
"externalRagConfig": "abc123",
"externalSources": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": true
}
]
}
}
getLlmEvaluationRagConfigsByLlmEvaluationId
Description
Retrieves the LLM evaluation RAG configs by the LLM evaluation id.
Response
Returns [LlmEvaluationRagConfig!]!
Arguments
Name | Description |
---|---|
llmEvaluationId - ID!
|
Example
Query
query GetLlmEvaluationRagConfigsByLlmEvaluationId($llmEvaluationId: ID!) {
getLlmEvaluationRagConfigsByLlmEvaluationId(llmEvaluationId: $llmEvaluationId) {
id
llmEvaluationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmPlaygroundRagConfig {
id
llmApplicationId
llmRagConfig {
...LlmRagConfigFragment
}
name
createdAt
updatedAt
}
llmDeploymentRagConfig {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
llmRagConfigId
llmSnapshotRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
llmApplicationConfigurationRagConfig {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
...UserFragment
}
llmRagConfigId
llmRagConfig {
...LlmRagConfigFragment
}
createdAt
updatedAt
isDeleted
}
llmEvaluationExecutionId
ragConfigSourceType
createdAt
updatedAt
isDeleted
applicationName
}
}
Variables
{"llmEvaluationId": "4"}
Response
{
"data": {
"getLlmEvaluationRagConfigsByLlmEvaluationId": [
{
"id": "4",
"llmEvaluationId": 4,
"llmApplication": LlmApplication,
"llmPlaygroundRagConfig": LlmApplicationPlaygroundRagConfig,
"llmDeploymentRagConfig": LlmApplicationDeployment,
"llmRagConfigId": 4,
"llmSnapshotRagConfig": LlmRagConfig,
"llmApplicationConfigurationRagConfig": LlmApplicationConfiguration,
"llmEvaluationExecutionId": "4",
"ragConfigSourceType": "APPLICATION_DEPLOYMENT",
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": true,
"applicationName": "abc123"
}
]
}
}
getLlmEvaluationRagConfigsByLlmEvaluationIds
Description
Retrieves the LLM evaluation RAG configs by the LLM evaluation ids.
Response
Returns [LlmEvaluationRagConfig!]!
Example
Query
query GetLlmEvaluationRagConfigsByLlmEvaluationIds(
$llmEvaluationIds: [ID!]!,
$withDeleted: Boolean
) {
getLlmEvaluationRagConfigsByLlmEvaluationIds(
llmEvaluationIds: $llmEvaluationIds,
withDeleted: $withDeleted
) {
id
llmEvaluationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmPlaygroundRagConfig {
id
llmApplicationId
llmRagConfig {
...LlmRagConfigFragment
}
name
createdAt
updatedAt
}
llmDeploymentRagConfig {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
llmRagConfigId
llmSnapshotRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
llmApplicationConfigurationRagConfig {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
...UserFragment
}
llmRagConfigId
llmRagConfig {
...LlmRagConfigFragment
}
createdAt
updatedAt
isDeleted
}
llmEvaluationExecutionId
ragConfigSourceType
createdAt
updatedAt
isDeleted
applicationName
}
}
Variables
{"llmEvaluationIds": [4], "withDeleted": false}
Response
{
"data": {
"getLlmEvaluationRagConfigsByLlmEvaluationIds": [
{
"id": "4",
"llmEvaluationId": 4,
"llmApplication": LlmApplication,
"llmPlaygroundRagConfig": LlmApplicationPlaygroundRagConfig,
"llmDeploymentRagConfig": LlmApplicationDeployment,
"llmRagConfigId": 4,
"llmSnapshotRagConfig": LlmRagConfig,
"llmApplicationConfigurationRagConfig": LlmApplicationConfiguration,
"llmEvaluationExecutionId": 4,
"ragConfigSourceType": "APPLICATION_DEPLOYMENT",
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": true,
"applicationName": "abc123"
}
]
}
}
getLlmEvaluationReport
Example
Query
query GetLlmEvaluationReport($projectId: String!) {
getLlmEvaluationReport(projectId: $projectId) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"projectId": "abc123"}
Response
{
"data": {
"getLlmEvaluationReport": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
getLlmEvaluationSummary
Description
Retrieves the LLM evaluation summary based on the provided id.
Response
Returns a LlmEvaluationSummary!
Example
Query
query GetLlmEvaluationSummary(
$id: ID!,
$llmEvaluationExecutionId: ID
) {
getLlmEvaluationSummary(
id: $id,
llmEvaluationExecutionId: $llmEvaluationExecutionId
) {
llmEvaluationId
llmEvaluation {
id
name
teamId
projectId
kind
status
creationProgress {
...LlmEvaluationCreationProgressFragment
}
scheduledCommandConfig {
...ScheduledCommandConfigFragment
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
...UserFragment
}
lastScoredByUser {
...UserFragment
}
totalPrompts
lastLlmEvaluationExecution {
...LlmEvaluationExecutionFragment
}
}
totalPromptCount
totalUnansweredPromptCount
totalFailedThresholdCompletionsCount
summaries {
llmEvaluationRagConfigId
cost
processingTime
scores {
...LlmEvaluationEvaluatorSummaryFragment
}
}
}
}
Variables
{"id": "4", "llmEvaluationExecutionId": 4}
Response
{
"data": {
"getLlmEvaluationSummary": {
"llmEvaluationId": "4",
"llmEvaluation": LlmEvaluation,
"totalPromptCount": 987,
"totalUnansweredPromptCount": 123,
"totalFailedThresholdCompletionsCount": 987,
"summaries": [LlmEvaluationRagConfigSummary]
}
}
}
getLlmEvaluations
Description
Retrieves an array of LlmMEvaluation
based on the provided filters.
Response
Returns a LlmEvaluationPaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetLlmEvaluationsPaginatedInput!
|
Example
Query
query GetLlmEvaluations($input: GetLlmEvaluationsPaginatedInput!) {
getLlmEvaluations(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
name
teamId
projectId
kind
status
creationProgress {
...LlmEvaluationCreationProgressFragment
}
scheduledCommandConfig {
...ScheduledCommandConfigFragment
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
...UserFragment
}
lastScoredByUser {
...UserFragment
}
totalPrompts
lastLlmEvaluationExecution {
...LlmEvaluationExecutionFragment
}
}
}
}
Variables
{"input": GetLlmEvaluationsPaginatedInput}
Response
{
"data": {
"getLlmEvaluations": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LlmEvaluation]
}
}
}
getLlmGeneratedInstruction
Response
Returns a String!
Arguments
Name | Description |
---|---|
input - GetLlmGeneratedInstructionInput!
|
Example
Query
query GetLlmGeneratedInstruction($input: GetLlmGeneratedInstructionInput!) {
getLlmGeneratedInstruction(input: $input)
}
Variables
{"input": GetLlmGeneratedInstructionInput}
Response
{
"data": {
"getLlmGeneratedInstruction": "xyz789"
}
}
getLlmManualEvaluationSummary
Description
Retrieves the LLM manual evaluation summary based on the provided id.
Response
Returns a LlmManualEvaluationSummary!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmManualEvaluationSummary($id: ID!) {
getLlmManualEvaluationSummary(id: $id) {
llmEvaluationId
totalPromptCount
totalScoredPromptCount
averageScore
applicationSummaries {
llmEvaluationRagConfigId
totalCost
averageProcessingTime
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmManualEvaluationSummary": {
"llmEvaluationId": "4",
"totalPromptCount": 987,
"totalScoredPromptCount": 987,
"averageScore": 987.65,
"applicationSummaries": [
LlmManualEvaluationApplicationSummary
]
}
}
}
getLlmModelDetails
Response
Returns [LlmModelDetail!]!
Example
Query
query GetLlmModelDetails(
$teamId: ID!,
$ids: [ID!]
) {
getLlmModelDetails(
teamId: $teamId,
ids: $ids
) {
modelId
modelType
status
instanceType
instanceTypeDetail {
name
cost {
...LlmInstanceCostDetailFragment
}
createdAt
}
}
}
Variables
{"teamId": 4, "ids": [4]}
Response
{
"data": {
"getLlmModelDetails": [
{
"modelId": "4",
"modelType": "LLM_MODEL",
"status": "AVAILABLE",
"instanceType": "abc123",
"instanceTypeDetail": LlmInstanceTypeDetail
}
]
}
}
getLlmModelFineTuningCostPredictionAsync
Description
Get Predicted cost for fine-tuning
Response
Returns a LlmModelFineTuningCostPredictionJob!
Arguments
Name | Description |
---|---|
input - LlmModelFineTuningCostPredictionInput!
|
Example
Query
query GetLlmModelFineTuningCostPredictionAsync($input: LlmModelFineTuningCostPredictionInput!) {
getLlmModelFineTuningCostPredictionAsync(input: $input) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
}
}
Variables
{"input": LlmModelFineTuningCostPredictionInput}
Response
{
"data": {
"getLlmModelFineTuningCostPredictionAsync": {
"job": Job,
"name": "xyz789"
}
}
}
getLlmModelMetadatas
Response
Returns [LlmModelMetadata!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLlmModelMetadatas($teamId: ID!) {
getLlmModelMetadatas(teamId: $teamId) {
providers
name
displayName
description
type
status
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLlmModelMetadatas": [
{
"providers": ["AMAZON_BEDROCK"],
"name": "xyz789",
"displayName": "xyz789",
"description": "xyz789",
"type": "QUESTION_ANSWERING",
"status": "AVAILABLE"
}
]
}
}
getLlmModelSpec
Response
Returns a LlmModelSpec!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
provider - GqlLlmModelProvider!
|
|
name - String!
|
Example
Query
query GetLlmModelSpec(
$teamId: ID!,
$provider: GqlLlmModelProvider!,
$name: String!
) {
getLlmModelSpec(
teamId: $teamId,
provider: $provider,
name: $name
) {
supportedInferenceInstanceTypes
supportedInferenceInstanceTypeDetails {
name
cost {
...LlmInstanceCostDetailFragment
}
createdAt
}
}
}
Variables
{
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789"
}
Response
{
"data": {
"getLlmModelSpec": {
"supportedInferenceInstanceTypes": [
"xyz789"
],
"supportedInferenceInstanceTypeDetails": [
LlmInstanceTypeDetail
]
}
}
}
getLlmModels
Response
Returns [LlmModel!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetLlmModels($teamId: ID!) {
getLlmModels(teamId: $teamId) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLlmModels": [
{
"id": 4,
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "abc123",
"url": "xyz789",
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 123.45,
"defaultTopP": 123.45,
"defaultMaxTokens": 987,
"minTemperature": 123.45,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getLlmUsageDetail
Response
Returns a LlmUsageDetail!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmUsageDetail($id: ID!) {
getLlmUsageDetail(id: $id) {
documents {
id
name
cost
costCurrency
usage
}
sourceDocuments {
source {
...LlmUsageExternalSourceFragment
}
documents
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmUsageDetail": {
"documents": [LlmUsageDocument],
"sourceDocuments": [LlmUsageSourceDocument]
}
}
}
getLlmUsageSummary
Response
Returns a LlmUsageSummary!
Example
Query
query GetLlmUsageSummary(
$teamId: ID!,
$calendarDate: String!
) {
getLlmUsageSummary(
teamId: $teamId,
calendarDate: $calendarDate
) {
totalCost
totalCostCurrency
modelSummaries {
modelName
modelProvider
totalUsage
}
}
}
Variables
{"teamId": 4, "calendarDate": "abc123"}
Response
{
"data": {
"getLlmUsageSummary": {
"totalCost": 987.65,
"totalCostCurrency": "abc123",
"modelSummaries": [LlmUsageModelSummary]
}
}
}
getLlmUsages
Response
Returns a LlmUsagePaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetLlmUsagesPaginatedInput!
|
Example
Query
query GetLlmUsages($input: GetLlmUsagesPaginatedInput!) {
getLlmUsages(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
teamId
name
type
modelDetail {
...LlmUsageModelDetailFragment
}
metadata {
...LlmUsageMetadataFragment
}
cost
costCurrency
usage
createdAt
updatedAt
}
}
}
Variables
{"input": GetLlmUsagesPaginatedInput}
Response
{
"data": {
"getLlmUsages": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LlmUsage]
}
}
}
getLlmVectorStore
Response
Returns a LlmVectorStore
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmVectorStore($id: ID!) {
getLlmVectorStore(id: $id) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmEmbeddingModel {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
provider
collectionId
name
status
documents
documentStatusCount {
totalQueued
totalProcessing
totalDeleting
totalCompleted
totalProcessFailed
totalDeleteFailed
totalDocumentInvalid
totalDocuments
}
sourceDocuments {
source {
...LlmVectorStoreSourceFragment
}
documents
}
questions {
id
internalId
type
name
label
required
config {
...QuestionConfigFragment
}
bindToColumn
activationConditionLogic
targetEntity
}
jobId
chunkConfiguration
createdAt
updatedAt
dimension
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmVectorStore": {
"id": 4,
"teamId": "4",
"createdByUser": User,
"llmEmbeddingModel": LlmEmbeddingModel,
"provider": "DATASAUR",
"collectionId": "xyz789",
"name": "abc123",
"status": "CREATED",
"documents": [LlmVectorStoreDocumentScalar],
"documentStatusCount": LlmVectorStoreDocumentCountByStatus,
"sourceDocuments": [LlmVectorStoreSourceDocument],
"questions": [Question],
"jobId": "abc123",
"chunkConfiguration": ChunkConfiguration,
"createdAt": "xyz789",
"updatedAt": "abc123",
"dimension": 987
}
}
}
getLlmVectorStoreActivities
Response
Returns a GetLlmVectorStoreActivityResponse!
Arguments
Name | Description |
---|---|
input - GetLlmVectorStoreActivityInput
|
Example
Query
query GetLlmVectorStoreActivities($input: GetLlmVectorStoreActivityInput) {
getLlmVectorStoreActivities(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
llmVectorStoreId
llmVectorStoreName
llmVectorStoreDocumentId
llmVectorStoreDocumentName
userId
userName
event
details
bucketName
bucketSource
updateLlmVectorStoreDocumentInput {
...UpdateLlmVectorStoreDocumentFragment
}
createdAt
updatedAt
}
}
}
Variables
{"input": GetLlmVectorStoreActivityInput}
Response
{
"data": {
"getLlmVectorStoreActivities": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmVectorStoreActivity]
}
}
}
getLlmVectorStoreAnswers
Response
Returns a LlmVectorStoreAnswer!
Arguments
Name | Description |
---|---|
llmVectorStoreDocumentId - ID!
|
Example
Query
query GetLlmVectorStoreAnswers($llmVectorStoreDocumentId: ID!) {
getLlmVectorStoreAnswers(llmVectorStoreDocumentId: $llmVectorStoreDocumentId) {
llmVectorStoreDocumentId
answers
updatedAt
}
}
Variables
{"llmVectorStoreDocumentId": 4}
Response
{
"data": {
"getLlmVectorStoreAnswers": {
"llmVectorStoreDocumentId": 4,
"answers": AnswerScalar,
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
getLlmVectorStoreDocument
Response
Returns a LlmVectorStoreDocument
Example
Query
query GetLlmVectorStoreDocument(
$id: ID!,
$fileId: ID!
) {
getLlmVectorStoreDocument(
id: $id,
fileId: $fileId
) {
id
name
objectKey
path
previewPath
type
status
errorMessage
llmVectorStoreSource {
id
llmVectorStoreId
externalObjectStorage {
...ExternalObjectStorageFragment
}
rules {
...LlmVectorStoreSourceRulesFragment
}
scheduledCommandConfig {
...ScheduledCommandConfigFragment
}
nextSchedule
lastSyncedAt
isDeleting
createdAt
updatedAt
}
llmVectorStoreSourceId
chunkConfiguration
createdAt
updatedAt
}
}
Variables
{
"id": "4",
"fileId": "4"
}
Response
{
"data": {
"getLlmVectorStoreDocument": {
"id": "4",
"name": "xyz789",
"objectKey": "xyz789",
"path": "xyz789",
"previewPath": "abc123",
"type": "FOLDER",
"status": "QUEUED",
"errorMessage": "abc123",
"llmVectorStoreSource": LlmVectorStoreSource,
"llmVectorStoreSourceId": "4",
"chunkConfiguration": ChunkConfiguration,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
getLlmVectorStoreDocumentsIncludingDeleted
Response
Returns a GetLlmVectorStoreDocumentsIncludingDeletedResponse
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmVectorStoreDocumentsIncludingDeleted($id: ID!) {
getLlmVectorStoreDocumentsIncludingDeleted(id: $id) {
documents
sourceDocuments {
source {
...LlmVectorStoreSourceFragment
}
documents
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmVectorStoreDocumentsIncludingDeleted": {
"documents": [LlmVectorStoreDocumentScalar],
"sourceDocuments": [LlmVectorStoreSourceDocument]
}
}
}
getLlmVectorStoreDocumentsPaginated
Response
Returns a LlmVectorStoreDocumentPaginatedResponse!
Arguments
Name | Description |
---|---|
llmVectorStoreId - ID!
|
|
input - GetLlmVectorStoreDocumentsPaginatedInput!
|
|
disableFetchCount - Boolean
|
Disables fetching the total count of documents for pagination. This can improve performance for large datasets, since count fetching run the heavy query twice. |
Example
Query
query GetLlmVectorStoreDocumentsPaginated(
$llmVectorStoreId: ID!,
$input: GetLlmVectorStoreDocumentsPaginatedInput!,
$disableFetchCount: Boolean
) {
getLlmVectorStoreDocumentsPaginated(
llmVectorStoreId: $llmVectorStoreId,
input: $input,
disableFetchCount: $disableFetchCount
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
name
objectKey
path
previewPath
type
status
errorMessage
llmVectorStoreSourceId
chunkConfiguration
createdAt
updatedAt
}
}
}
Variables
{
"llmVectorStoreId": 4,
"input": GetLlmVectorStoreDocumentsPaginatedInput,
"disableFetchCount": true
}
Response
{
"data": {
"getLlmVectorStoreDocumentsPaginated": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmVectorStoreDocumentPaginationItem]
}
}
}
getLlmVectorStoreLocalDocumentNames
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmVectorStoreLocalDocumentNames($id: ID!) {
getLlmVectorStoreLocalDocumentNames(id: $id)
}
Variables
{"id": "4"}
Response
{
"data": {
"getLlmVectorStoreLocalDocumentNames": [
"xyz789"
]
}
}
getLlmVectorStoreSourceDeletedDocuments
Response
Returns a LlmVectorStoreSourceDocumentScalar!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetLlmVectorStoreSourceDeletedDocuments($id: ID!) {
getLlmVectorStoreSourceDeletedDocuments(id: $id)
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmVectorStoreSourceDeletedDocuments": LlmVectorStoreSourceDocumentScalar
}
}
getLlmVectorStoreSourceNewDocuments
Response
Returns a LlmVectorStoreSourceDocumentScalar!
Arguments
Name | Description |
---|---|
llmVectorStoreId - ID!
|
|
input - LlmVectorStoreSourceCreateInput!
|
Example
Query
query GetLlmVectorStoreSourceNewDocuments(
$llmVectorStoreId: ID!,
$input: LlmVectorStoreSourceCreateInput!
) {
getLlmVectorStoreSourceNewDocuments(
llmVectorStoreId: $llmVectorStoreId,
input: $input
)
}
Variables
{
"llmVectorStoreId": "4",
"input": LlmVectorStoreSourceCreateInput
}
Response
{
"data": {
"getLlmVectorStoreSourceNewDocuments": LlmVectorStoreSourceDocumentScalar
}
}
getLlmVectorStoreSourceUpdatedDocuments
Response
Returns a LlmVectorStoreSourceDocumentScalar!
Arguments
Name | Description |
---|---|
input - LlmVectorStoreSourceUpdateInput!
|
Example
Query
query GetLlmVectorStoreSourceUpdatedDocuments($input: LlmVectorStoreSourceUpdateInput!) {
getLlmVectorStoreSourceUpdatedDocuments(input: $input)
}
Variables
{"input": LlmVectorStoreSourceUpdateInput}
Response
{
"data": {
"getLlmVectorStoreSourceUpdatedDocuments": LlmVectorStoreSourceDocumentScalar
}
}
getLlmVectorStoreSources
Response
Returns [LlmVectorStoreSource!]!
Arguments
Name | Description |
---|---|
llmVectorStoreId - ID!
|
Example
Query
query GetLlmVectorStoreSources($llmVectorStoreId: ID!) {
getLlmVectorStoreSources(llmVectorStoreId: $llmVectorStoreId) {
id
llmVectorStoreId
externalObjectStorage {
id
cloudService
bucketId
bucketName
credentials {
...ExternalObjectStorageCredentialsFragment
}
securityToken
team {
...TeamFragment
}
projects {
...ProjectFragment
}
createdAt
updatedAt
}
rules {
includeRule {
...LlmVectorStoreSourceRuleFragment
}
excludeRule {
...LlmVectorStoreSourceRuleFragment
}
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
nextSchedule
lastSyncedAt
isDeleting
createdAt
updatedAt
}
}
Variables
{"llmVectorStoreId": 4}
Response
{
"data": {
"getLlmVectorStoreSources": [
{
"id": 4,
"llmVectorStoreId": 4,
"externalObjectStorage": ExternalObjectStorage,
"rules": LlmVectorStoreSourceRules,
"scheduledCommandConfig": ScheduledCommandConfig,
"nextSchedule": "xyz789",
"lastSyncedAt": "abc123",
"isDeleting": true,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
]
}
}
getLlmVectorStores
Response
Returns a LlmVectorStorePaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetLlmVectorStoresPaginatedInput!
|
Example
Query
query GetLlmVectorStores($input: GetLlmVectorStoresPaginatedInput!) {
getLlmVectorStores(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
teamId
createdByUser {
...UserFragment
}
llmEmbeddingModel {
...LlmEmbeddingModelFragment
}
provider
collectionId
name
status
documents
documentStatusCount {
...LlmVectorStoreDocumentCountByStatusFragment
}
sourceDocuments {
...LlmVectorStoreSourceDocumentFragment
}
questions {
...QuestionFragment
}
jobId
chunkConfiguration
createdAt
updatedAt
dimension
}
}
}
Variables
{"input": GetLlmVectorStoresPaginatedInput}
Response
{
"data": {
"getLlmVectorStores": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmVectorStore]
}
}
}
getMarkedUnusedLabelClassIds
Description
Get all label class ids which are marked as N/A.
Response
Returns [MarkedUnusedLabelClassIds!]!
Example
Query
query GetMarkedUnusedLabelClassIds(
$documentId: ID!,
$labelSetIds: [ID!]!
) {
getMarkedUnusedLabelClassIds(
documentId: $documentId,
labelSetIds: $labelSetIds
) {
documentId
labelSetId
labelClassIds
}
}
Variables
{"documentId": 4, "labelSetIds": [4]}
Response
{
"data": {
"getMarkedUnusedLabelClassIds": [
{
"documentId": 4,
"labelSetId": "4",
"labelClassIds": ["xyz789"]
}
]
}
}
getMarkedUnusedLabelClasses
Description
Get all label classes which are marked as N/A in a project.
Response
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetMarkedUnusedLabelClasses($projectId: ID!) {
getMarkedUnusedLabelClasses(projectId: $projectId)
}
Variables
{"projectId": 4}
Response
{
"data": {
"getMarkedUnusedLabelClasses": [
ProjectUnusedLabelClassScalar
]
}
}
getMonthlySubscriptionPrice
Response
Returns a Float!
Example
Query
query GetMonthlySubscriptionPrice {
getMonthlySubscriptionPrice
}
Response
{"data": {"getMonthlySubscriptionPrice": 987.65}}
getOCRContentPositionMaps
Response
Returns an OCRContentPositionMapsResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetOCRContentPositionMaps($documentId: ID!) {
getOCRContentPositionMaps(documentId: $documentId) {
documentId
maps {
mediaToTranscript
transcriptToMedia
}
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getOCRContentPositionMaps": {
"documentId": 4,
"maps": OCRContentPositionMaps
}
}
}
getOverallProjectPerformance
Description
Get projects count based on its status. (Optional) Filter by tag names (supports multiple selections with OR logic).
Response
Returns an OverallProjectPerformance!
Example
Query
query GetOverallProjectPerformance(
$teamId: ID!,
$tagNames: [String!]
) {
getOverallProjectPerformance(
teamId: $teamId,
tagNames: $tagNames
) {
total
completed
inReview
reviewReady
inProgress
created
}
}
Variables
{"teamId": 4, "tagNames": ["xyz789"]}
Response
{
"data": {
"getOverallProjectPerformance": {
"total": 987,
"completed": 987,
"inReview": 987,
"reviewReady": 987,
"inProgress": 987,
"created": 123
}
}
}
getPaginatedChartData
Response
Returns a PaginatedChartDataResponse!
Arguments
Name | Description |
---|---|
input - PaginatedAnalyticsDashboardQueryInput!
|
Example
Query
query GetPaginatedChartData($input: PaginatedAnalyticsDashboardQueryInput!) {
getPaginatedChartData(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
key
values {
...ChartDataRowValueFragment
}
keyPayloadType
keyPayload
}
}
}
Variables
{"input": PaginatedAnalyticsDashboardQueryInput}
Response
{
"data": {
"getPaginatedChartData": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ChartDataRow]
}
}
}
getPaginatedGroundTruthSet
Response
Returns a GetPaginatedGroundTruthSetResponse!
Arguments
Name | Description |
---|---|
input - GetPaginatedGroundTruthSetInput!
|
Example
Query
query GetPaginatedGroundTruthSet($input: GetPaginatedGroundTruthSetInput!) {
getPaginatedGroundTruthSet(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
name
teamId
createdByUserId
createdByUser {
...UserFragment
}
items {
...GroundTruthFragment
}
itemsCount
createdAt
updatedAt
}
}
}
Variables
{"input": GetPaginatedGroundTruthSetInput}
Response
{
"data": {
"getPaginatedGroundTruthSet": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [GroundTruthSet]
}
}
}
getPaginatedGroundTruthSetItems
Response
Returns a GetPaginatedGroundTruthSetItemsResponse!
Arguments
Name | Description |
---|---|
input - GetPaginatedGroundTruthSetItemsInput!
|
Example
Query
query GetPaginatedGroundTruthSetItems($input: GetPaginatedGroundTruthSetItemsInput!) {
getPaginatedGroundTruthSetItems(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
}
}
Variables
{"input": GetPaginatedGroundTruthSetItemsInput}
Response
{
"data": {
"getPaginatedGroundTruthSetItems": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [GroundTruth]
}
}
}
getPaginatedLlmApplicationConfigurations
Response
Arguments
Name | Description |
---|---|
input - GetPaginatedLlmApplicationConfigurationInput!
|
Example
Query
query GetPaginatedLlmApplicationConfigurations($input: GetPaginatedLlmApplicationConfigurationInput!) {
getPaginatedLlmApplicationConfigurations(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
...UserFragment
}
llmRagConfigId
llmRagConfig {
...LlmRagConfigFragment
}
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"input": GetPaginatedLlmApplicationConfigurationInput}
Response
{
"data": {
"getPaginatedLlmApplicationConfigurations": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmApplicationConfiguration]
}
}
}
getPaginatedQuestionSets
Response
Returns a GetPaginatedQuestionSetResponse!
Arguments
Name | Description |
---|---|
input - GetPaginatedQuestionSetInput!
|
Example
Query
query GetPaginatedQuestionSets($input: GetPaginatedQuestionSetInput!) {
getPaginatedQuestionSets(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
}
}
Variables
{"input": GetPaginatedQuestionSetInput}
Response
{
"data": {
"getPaginatedQuestionSets": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [QuestionSet]
}
}
}
getPairKappas
Response
Returns [PairKappa!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
labelSetSignatures - [String!]
|
|
method - IAAMethodName
|
|
projectIds - [ID!]
|
Example
Query
query GetPairKappas(
$teamId: ID!,
$labelSetSignatures: [String!],
$method: IAAMethodName,
$projectIds: [ID!]
) {
getPairKappas(
teamId: $teamId,
labelSetSignatures: $labelSetSignatures,
method: $method,
projectIds: $projectIds
) {
userId1
userId2
kappa
}
}
Variables
{
"teamId": 4,
"labelSetSignatures": ["xyz789"],
"method": "COHENS_KAPPA",
"projectIds": ["4"]
}
Response
{"data": {"getPairKappas": [{"userId1": 987, "userId2": 123, "kappa": 987.65}]}}
getPaymentMethod
Response
Returns a PaymentMethod!
Example
Query
query GetPaymentMethod(
$teamId: ID!,
$stripePaymentMethodId: String
) {
getPaymentMethod(
teamId: $teamId,
stripePaymentMethodId: $stripePaymentMethodId
) {
hasPaymentMethod
throttledUntil
detail {
type
fundingType
displayBrand
creditCardLastFourNumber
creditCardExpiryMonth
creditCardExpiryYear
markedForRemoval
status
invalidStatusReason
createdAt
updatedAt
}
}
}
Variables
{
"teamId": "4",
"stripePaymentMethodId": "xyz789"
}
Response
{
"data": {
"getPaymentMethod": {
"hasPaymentMethod": true,
"throttledUntil": "abc123",
"detail": PaymentMethodDetail
}
}
}
getPaymentMethodTemporaryChargeConfiguration
Response
Example
Query
query GetPaymentMethodTemporaryChargeConfiguration {
getPaymentMethodTemporaryChargeConfiguration {
amountCents
currencyISO
currencySymbol
}
}
Response
{
"data": {
"getPaymentMethodTemporaryChargeConfiguration": {
"amountCents": 123,
"currencyISO": "abc123",
"currencySymbol": "abc123"
}
}
}
getPersonalTags
Description
Returns a list of personal tags.
Response
Returns [Tag!]!
Arguments
Name | Description |
---|---|
input - GetPersonalTagsInput
|
Example
Query
query GetPersonalTags($input: GetPersonalTagsInput) {
getPersonalTags(input: $input) {
id
name
globalTag
}
}
Variables
{"input": GetPersonalTagsInput}
Response
{
"data": {
"getPersonalTags": [
{
"id": 4,
"name": "xyz789",
"globalTag": true
}
]
}
}
getPinnedProjectTemplates
Response
Returns [ProjectTemplateV2!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetPinnedProjectTemplates($teamId: ID!) {
getPinnedProjectTemplates(teamId: $teamId) {
id
name
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getPinnedProjectTemplates": [
{
"id": "4",
"name": "abc123",
"logoURL": "abc123",
"projectTemplateProjectSettingId": 4,
"projectTemplateTextDocumentSettingId": 4,
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "xyz789",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": 4,
"type": "CUSTOM",
"description": "abc123",
"imagePreviewURL": "abc123",
"videoURL": "abc123"
}
]
}
}
getPlaygroundCostPrediction
Response
Returns a CostPredictionResponse!
Example
Query
query GetPlaygroundCostPrediction(
$llmApplicationId: ID!,
$promptId: ID!,
$playgroundRagConfigIds: [ID!],
$withAttachments: Boolean
) {
getPlaygroundCostPrediction(
llmApplicationId: $llmApplicationId,
promptId: $promptId,
playgroundRagConfigIds: $playgroundRagConfigIds,
withAttachments: $withAttachments
) {
costPerPromptTemplate {
promptTemplateId
promptTemplateName
modelName
tokens {
...TokenUsagesFragment
}
tokenUnitPrices {
...TokenUnitPricesFragment
}
tokenPrices {
...TokenPricesFragment
}
coveredByDatasaur
pricingUsageType
embeddingPricingUsageType
}
totalChars {
coveredByDatasaur
notCoveredByDatasaur
total
}
totalTokens {
coveredByDatasaur
notCoveredByDatasaur
total
}
totalPrice {
coveredByDatasaur
notCoveredByDatasaur
total
}
}
}
Variables
{
"llmApplicationId": "4",
"promptId": "4",
"playgroundRagConfigIds": [4],
"withAttachments": true
}
Response
{
"data": {
"getPlaygroundCostPrediction": {
"costPerPromptTemplate": [
PromptTemplateCostPrediction
],
"totalChars": CostPredictionTotal,
"totalTokens": CostPredictionTotal,
"totalPrice": CostPredictionTotalPrice
}
}
}
getPlaygroundCreditCost
Response
Returns an Int!
Example
Query
query GetPlaygroundCreditCost(
$llmApplicationId: ID!,
$playgroundPromptIds: [ID]!,
$playgroundRagConfigIds: [ID!]
) {
getPlaygroundCreditCost(
llmApplicationId: $llmApplicationId,
playgroundPromptIds: $playgroundPromptIds,
playgroundRagConfigIds: $playgroundRagConfigIds
)
}
Variables
{
"llmApplicationId": 4,
"playgroundPromptIds": ["4"],
"playgroundRagConfigIds": [4]
}
Response
{"data": {"getPlaygroundCreditCost": 987}}
getPredictedLabels
Response
Returns [TextLabel!]!
Arguments
Name | Description |
---|---|
input - GetPredictedLabelsInput!
|
Example
Query
query GetPredictedLabels($input: GetPredictedLabelsInput!) {
getPredictedLabels(input: $input) {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
sentenceId
tokenId
charId
}
end {
sentenceId
tokenId
charId
}
confidenceScore
status
}
}
Variables
{"input": GetPredictedLabelsInput}
Response
{
"data": {
"getPredictedLabels": [
{
"id": "abc123",
"l": "abc123",
"layer": 987,
"deleted": false,
"hashCode": "xyz789",
"labeledBy": "AUTO",
"labeledByUser": User,
"labeledByUserId": 123,
"acceptedByUserId": "4",
"rejectedByUserId": "4",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"documentId": "xyz789",
"start": TextCursor,
"end": TextCursor,
"confidenceScore": 987.65,
"status": "LABELED"
}
]
}
}
getPredictedRowAnswers
Response
Returns [RowAnswer!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetPredictedRowAnswers($documentId: ID!) {
getPredictedRowAnswers(documentId: $documentId) {
documentId
line
answers
metadata {
path
labeledBy
createdAt
updatedAt
}
updatedAt
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getPredictedRowAnswers": [
{
"documentId": "4",
"line": 987,
"answers": AnswerScalar,
"metadata": [AnswerMetadata],
"updatedAt": "2007-12-03T10:15:30Z"
}
]
}
}
getProcessingConfigurationSchema
Response
Returns a ProcessingConfigurationSchema
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetProcessingConfigurationSchema($id: ID!) {
getProcessingConfigurationSchema(id: $id)
}
Variables
{"id": 4}
Response
{
"data": {
"getProcessingConfigurationSchema": ProcessingConfigurationSchema
}
}
getProject
Description
Returns a single project identified by its ID.
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - GetProjectInput!
|
Example
Query
query GetProject($input: GetProjectInput!) {
getProject(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": GetProjectInput}
Response
{
"data": {
"getProject": {
"id": 4,
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "abc123",
"createdDate": "abc123",
"completedDate": "abc123",
"exportedDate": "abc123",
"updatedDate": "xyz789",
"isOwnerMe": true,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 123
}
}
}
getProjectCabinets
Description
Returns all of the project's cabinets.
Response
Returns [Cabinet!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetProjectCabinets($projectId: ID!) {
getProjectCabinets(projectId: $projectId) {
id
documents
role
status
lastOpenedDocumentId
statistic {
id
numberOfTokens
numberOfLines
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
createdAt
}
}
Variables
{"projectId": "4"}
Response
{
"data": {
"getProjectCabinets": [
{
"id": 4,
"documents": [TextDocumentScalar],
"role": "REVIEWER",
"status": "IN_PROGRESS",
"lastOpenedDocumentId": 4,
"statistic": CabinetStatistic,
"owner": User,
"createdAt": "2007-12-03T10:15:30Z"
}
]
}
}
getProjectConflictsCount
Description
Total Project Conflict Count. Returns total label conflicts plus edit sentence conflicts
Response
Returns [ProjectConflictsCountItem!]!
Example
Query
query GetProjectConflictsCount(
$projectId: ID!,
$role: Role
) {
getProjectConflictsCount(
projectId: $projectId,
role: $role
) {
documentId
numberOfConflicts
}
}
Variables
{"projectId": 4, "role": "REVIEWER"}
Response
{
"data": {
"getProjectConflictsCount": [
{
"documentId": "xyz789",
"numberOfConflicts": 123
}
]
}
}
getProjectContributors
Response
Returns [CabinetContributor!]!
Example
Query
query GetProjectContributors(
$teamId: ID!,
$projectId: ID!
) {
getProjectContributors(
teamId: $teamId,
projectId: $projectId
) {
cabinetId
cabinetOwnerId
contributors {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
}
}
Variables
{
"teamId": "4",
"projectId": "4"
}
Response
{
"data": {
"getProjectContributors": [
{
"cabinetId": 4,
"cabinetOwnerId": "4",
"contributors": [User]
}
]
}
}
getProjectDocumentAnswerReviewProgress
Response
Returns a ProjectDocumentsReviewProgress!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetProjectDocumentAnswerReviewProgress($projectId: ID!) {
getProjectDocumentAnswerReviewProgress(projectId: $projectId) {
projectId
totalToReview
totalReviewed
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"getProjectDocumentAnswerReviewProgress": {
"projectId": "4",
"totalToReview": 123,
"totalReviewed": 123
}
}
}
getProjectDocumentQuestionSet
Response
Returns a ProjectQuestionSet!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetProjectDocumentQuestionSet($projectId: ID!) {
getProjectDocumentQuestionSet(projectId: $projectId) {
questions {
id
internalId
type
name
label
required
config {
...QuestionConfigFragment
}
bindToColumn
activationConditionLogic
targetEntity
}
signature
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"getProjectDocumentQuestionSet": {
"questions": [Question],
"signature": "xyz789"
}
}
}
getProjectExtension
Response
Returns a ProjectExtension
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
query GetProjectExtension($cabinetId: ID!) {
getProjectExtension(cabinetId: $cabinetId) {
id
cabinetId
elements {
id
enabled
extension {
...ExtensionFragment
}
height
order
setting {
...ExtensionElementSettingFragment
}
}
width
}
}
Variables
{"cabinetId": "4"}
Response
{
"data": {
"getProjectExtension": {
"id": "4",
"cabinetId": 4,
"elements": [ExtensionElement],
"width": 123
}
}
}
getProjectLabelersDocumentStatus
Response
Arguments
Name | Description |
---|---|
input - GetProjectInput
|
Example
Query
query GetProjectLabelersDocumentStatus($input: GetProjectInput) {
getProjectLabelersDocumentStatus(input: $input) {
originId
assignedLabelers {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
completedLabelers {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
}
}
Variables
{"input": GetProjectInput}
Response
{
"data": {
"getProjectLabelersDocumentStatus": [
{
"originId": "4",
"assignedLabelers": [TeamMember],
"completedLabelers": [TeamMember]
}
]
}
}
getProjectMetadataItems
Response
Returns a PaginatedProjectMetadataItem!
Arguments
Name | Description |
---|---|
input - GetProjectMetadataItemsInput!
|
Example
Query
query GetProjectMetadataItems($input: GetProjectMetadataItemsInput!) {
getProjectMetadataItems(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
}
}
Variables
{"input": GetProjectMetadataItemsInput}
Response
{
"data": {
"getProjectMetadataItems": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ProjectMetadataItem]
}
}
}
getProjectRowQuestionSet
Response
Returns a ProjectQuestionSet!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetProjectRowQuestionSet($projectId: ID!) {
getProjectRowQuestionSet(projectId: $projectId) {
questions {
id
internalId
type
name
label
required
config {
...QuestionConfigFragment
}
bindToColumn
activationConditionLogic
targetEntity
}
signature
}
}
Variables
{"projectId": "4"}
Response
{
"data": {
"getProjectRowQuestionSet": {
"questions": [Question],
"signature": "abc123"
}
}
}
getProjectSample
Description
Returns a single project identified by its ID.
Response
Returns a ProjectSample!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetProjectSample($id: ID!) {
getProjectSample(id: $id) {
id
displayName
exportableJSON
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getProjectSample": {
"id": 4,
"displayName": "xyz789",
"exportableJSON": "xyz789"
}
}
}
getProjectSamples
Description
Returns a list of ProjectSample matching the given name
Response
Returns [ProjectSample!]!
Arguments
Name | Description |
---|---|
displayName - String
|
Example
Query
query GetProjectSamples($displayName: String) {
getProjectSamples(displayName: $displayName) {
id
displayName
exportableJSON
}
}
Variables
{"displayName": "xyz789"}
Response
{
"data": {
"getProjectSamples": [
{
"id": "4",
"displayName": "abc123",
"exportableJSON": "xyz789"
}
]
}
}
getProjectSummaryReport
Response
Returns a ProjectSummaryReport!
Example
Query
query GetProjectSummaryReport(
$teamId: ID!,
$projectId: ID!
) {
getProjectSummaryReport(
teamId: $teamId,
projectId: $projectId
) {
projectId
metrics {
key
value
}
}
}
Variables
{"teamId": 4, "projectId": "4"}
Response
{
"data": {
"getProjectSummaryReport": {
"projectId": 4,
"metrics": [ProjectSummaryMetric]
}
}
}
getProjectTemplate
Response
Returns a ProjectTemplate!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetProjectTemplate($id: ID!) {
getProjectTemplate(id: $id) {
id
name
teamId
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"id": 4}
Response
{
"data": {
"getProjectTemplate": {
"id": "4",
"name": "xyz789",
"teamId": "4",
"team": Team,
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "xyz789",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": "4"
}
}
}
getProjectTemplateV2
Response
Returns a ProjectTemplateV2!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetProjectTemplateV2($id: ID!) {
getProjectTemplateV2(id: $id) {
id
name
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"id": 4}
Response
{
"data": {
"getProjectTemplateV2": {
"id": "4",
"name": "xyz789",
"logoURL": "xyz789",
"projectTemplateProjectSettingId": 4,
"projectTemplateTextDocumentSettingId": 4,
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": "4",
"type": "CUSTOM",
"description": "abc123",
"imagePreviewURL": "xyz789",
"videoURL": "abc123"
}
}
}
getProjectTemplates
Response
Returns [ProjectTemplate!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetProjectTemplates($teamId: ID!) {
getProjectTemplates(teamId: $teamId) {
id
name
teamId
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getProjectTemplates": [
{
"id": 4,
"name": "xyz789",
"teamId": "4",
"team": Team,
"logoURL": "xyz789",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "xyz789",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": "4"
}
]
}
}
getProjectTemplatesV2
Response
Returns [ProjectTemplateV2!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetProjectTemplatesV2($teamId: ID!) {
getProjectTemplatesV2(teamId: $teamId) {
id
name
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getProjectTemplatesV2": [
{
"id": "4",
"name": "xyz789",
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": "4",
"type": "CUSTOM",
"description": "xyz789",
"imagePreviewURL": "xyz789",
"videoURL": "xyz789"
}
]
}
}
getProjectTopLabelsReport
Response
Returns a ProjectTopLabelsReport!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
projectId - ID!
|
|
sourceNavigation - ProjectAnalyticsSourceNavigation
|
Example
Query
query GetProjectTopLabelsReport(
$teamId: ID!,
$projectId: ID!,
$sourceNavigation: ProjectAnalyticsSourceNavigation
) {
getProjectTopLabelsReport(
teamId: $teamId,
projectId: $projectId,
sourceNavigation: $sourceNavigation
) {
projectId
topLabels {
labelType
metrics {
...ProjectTopLabelsMetricFragment
}
}
}
}
Variables
{"teamId": 4, "projectId": 4, "sourceNavigation": "SUMMARY_DIALOG"}
Response
{
"data": {
"getProjectTopLabelsReport": {
"projectId": "4",
"topLabels": [ProjectTopLabels]
}
}
}
getProjects
Description
Returns a paginated list of projects.
Response
Returns a ProjectPaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetProjectsPaginatedInput!
|
Example
Query
query GetProjects($input: GetProjectsPaginatedInput!) {
getProjects(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
}
}
Variables
{"input": GetProjectsPaginatedInput}
Response
{
"data": {
"getProjects": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [Project]
}
}
}
getProjectsFinalReport
Response
Returns [ProjectFinalReport!]!
Arguments
Name | Description |
---|---|
projectIds - [ID!]!
|
Example
Query
query GetProjectsFinalReport($projectIds: [ID!]!) {
getProjectsFinalReport(projectIds: $projectIds) {
project {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
documentFinalReports {
rowFinalReports {
...RowFinalReportFragment
}
cabinet {
...CabinetFragment
}
document {
...TextDocumentFragment
}
finalReport {
...FinalReportFragment
}
teamMember {
...TeamMemberFragment
}
}
}
}
Variables
{"projectIds": [4]}
Response
{
"data": {
"getProjectsFinalReport": [
{
"project": Project,
"documentFinalReports": [DocumentFinalReport]
}
]
}
}
getQuestionSet
Response
Returns a QuestionSet!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
query GetQuestionSet($id: ID!) {
getQuestionSet(id: $id) {
name
id
creator {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
index
questionSetId
label
type
hint
multipleAnswer
required
bindToColumn
activationConditionLogic
createdAt
updatedAt
options {
...DropdownConfigOptionsFragment
}
leafOptionsOnly
format
defaultValue
max
min
theme
gradientColors
step
hideScaleLabel
multiline
maxLength
minLength
pattern
customScript {
...CustomScriptFragment
}
nestedQuestions {
...QuestionSetItemFragment
}
parentId
}
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getQuestionSet": {
"name": "xyz789",
"id": "4",
"creator": User,
"items": [QuestionSetItem],
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
getQuestionSetTemplate
Response
Returns a QuestionSetTemplate!
Example
Query
query GetQuestionSetTemplate(
$teamId: ID!,
$id: ID!
) {
getQuestionSetTemplate(
teamId: $teamId,
id: $id
) {
id
teamId
name
template
createdAt
updatedAt
}
}
Variables
{"teamId": 4, "id": 4}
Response
{
"data": {
"getQuestionSetTemplate": {
"id": "4",
"teamId": "4",
"name": "abc123",
"template": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
getQuestionSetTemplates
Response
Returns [QuestionSetTemplate!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetQuestionSetTemplates($teamId: ID!) {
getQuestionSetTemplates(teamId: $teamId) {
id
teamId
name
template
createdAt
updatedAt
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getQuestionSetTemplates": [
{
"id": "4",
"teamId": 4,
"name": "xyz789",
"template": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
]
}
}
getRemainingFilesStatistic
Description
Get the remaining project files count based on the corresponding project status. (Optional) Filter by tag names (supports multiple selections with OR logic).
Response
Returns a RemainingFilesStatistic!
Example
Query
query GetRemainingFilesStatistic(
$teamId: ID!,
$tagNames: [String!]
) {
getRemainingFilesStatistic(
teamId: $teamId,
tagNames: $tagNames
) {
total
inReview
reviewReady
inProgress
created
}
}
Variables
{
"teamId": "4",
"tagNames": ["xyz789"]
}
Response
{
"data": {
"getRemainingFilesStatistic": {
"total": 987,
"inReview": 123,
"reviewReady": 987,
"inProgress": 123,
"created": 123
}
}
}
getReversedLabels
Response
Returns [ReversedLabels!]!
Arguments
Name | Description |
---|---|
input - ReversedLabelsOperationInput!
|
Example
Query
query GetReversedLabels($input: ReversedLabelsOperationInput!) {
getReversedLabels(input: $input) {
document
reversedLabels
reversedLabelsCount
replacedReversedLabels
replacedReversedLabelsCount
replacementLabels
replacementLabelsCount
}
}
Variables
{"input": ReversedLabelsOperationInput}
Response
{
"data": {
"getReversedLabels": [
{
"document": TextDocumentScalar,
"reversedLabels": [TextLabelScalar],
"reversedLabelsCount": 123,
"replacedReversedLabels": [TextLabelScalar],
"replacedReversedLabelsCount": 987,
"replacementLabels": [TextLabelScalar],
"replacementLabelsCount": 987
}
]
}
}
getRowAnalyticEvents
Response
Returns a RowAnalyticEventPaginatedResponse!
Arguments
Name | Description |
---|---|
input - RowAnalyticEventInput!
|
Example
Query
query GetRowAnalyticEvents($input: RowAnalyticEventInput!) {
getRowAnalyticEvents(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
cell {
...RowAnalyticEventCellFragment
}
createdAt
event
id
user {
...RowAnalyticEventUserFragment
}
}
}
}
Variables
{"input": RowAnalyticEventInput}
Response
{
"data": {
"getRowAnalyticEvents": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [RowAnalyticEvent]
}
}
}
getRowAnswerConflicts
Response
Returns [RowAnswerConflicts!]!
Arguments
Name | Description |
---|---|
input - GetRowAnswerConflictsInput
|
Example
Query
query GetRowAnswerConflicts($input: GetRowAnswerConflictsInput) {
getRowAnswerConflicts(input: $input) {
line
conflicts
conflictStatus
}
}
Variables
{"input": GetRowAnswerConflictsInput}
Response
{
"data": {
"getRowAnswerConflicts": [
{
"line": 123,
"conflicts": [ConflictAnswerScalar],
"conflictStatus": "CONFLICT"
}
]
}
}
getRowAnswersPaginated
Response
Returns a GetRowAnswersPaginatedResponse!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
input - GetRowAnswersPaginatedInput
|
|
signature - String
|
Example
Query
query GetRowAnswersPaginated(
$documentId: ID!,
$input: GetRowAnswersPaginatedInput,
$signature: String
) {
getRowAnswersPaginated(
documentId: $documentId,
input: $input,
signature: $signature
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
}
}
Variables
{
"documentId": "4",
"input": GetRowAnswersPaginatedInput,
"signature": "xyz789"
}
Response
{
"data": {
"getRowAnswersPaginated": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [RowAnswer]
}
}
}
getRowQuestions
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetRowQuestions($projectId: ID!) {
getRowQuestions(projectId: $projectId) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{"projectId": "4"}
Response
{
"data": {
"getRowQuestions": [
{
"id": 123,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "xyz789",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
]
}
}
getSamlTenantByTeamId
Response
Returns a SamlTenant
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetSamlTenantByTeamId($teamId: ID!) {
getSamlTenantByTeamId(teamId: $teamId) {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
allowMembersToSetPassword
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getSamlTenantByTeamId": {
"id": 4,
"active": true,
"companyId": "4",
"idpIssuer": "xyz789",
"idpUrl": "abc123",
"spIssuer": "abc123",
"team": Team,
"allowMembersToSetPassword": true
}
}
}
getScimByTeamId
Example
Query
query GetScimByTeamId($teamId: ID!) {
getScimByTeamId(teamId: $teamId) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
samlTenant {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
...TeamFragment
}
allowMembersToSetPassword
}
active
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getScimByTeamId": {
"id": 4,
"team": Team,
"samlTenant": SamlTenant,
"active": true
}
}
}
getScimGroupByTeamId
Response
Returns [ScimGroup!]
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetScimGroupByTeamId($teamId: ID!) {
getScimGroupByTeamId(teamId: $teamId) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
scim {
id
team {
...TeamFragment
}
samlTenant {
...SamlTenantFragment
}
active
}
groupName
role
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getScimGroupByTeamId": [
{
"id": "4",
"team": Team,
"scim": Scim,
"groupName": "xyz789",
"role": "LABELER"
}
]
}
}
getSearchHistoryKeywords
Response
Returns [SearchHistoryKeyword!]!
Example
Query
query GetSearchHistoryKeywords {
getSearchHistoryKeywords {
id
keyword
}
}
Response
{
"data": {
"getSearchHistoryKeywords": [
{"id": 4, "keyword": "abc123"}
]
}
}
getSpanAndArrowConflictContributorIds
Response
Returns [ConflictContributorIds!]!
Example
Query
query GetSpanAndArrowConflictContributorIds(
$documentId: ID!,
$labelHashCodes: [String!]
) {
getSpanAndArrowConflictContributorIds(
documentId: $documentId,
labelHashCodes: $labelHashCodes
) {
labelHashCode
contributorIds
contributorInfos {
id
labelPhase
acceptedByUserId
rejectedByUserId
userId
teamMemberId
}
}
}
Variables
{
"documentId": "4",
"labelHashCodes": ["xyz789"]
}
Response
{
"data": {
"getSpanAndArrowConflictContributorIds": [
{
"labelHashCode": "xyz789",
"contributorIds": [987],
"contributorInfos": [ContributorInfo]
}
]
}
}
getSpanAndArrowConflicts
Response
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
input - GetSpanAndArrowConflictsPaginatedInput!
|
|
signature - String
|
Example
Query
query GetSpanAndArrowConflicts(
$documentId: ID!,
$input: GetSpanAndArrowConflictsPaginatedInput!,
$signature: String
) {
getSpanAndArrowConflicts(
documentId: $documentId,
input: $input,
signature: $signature
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes
}
}
Variables
{
"documentId": "4",
"input": GetSpanAndArrowConflictsPaginatedInput,
"signature": "xyz789"
}
Response
{
"data": {
"getSpanAndArrowConflicts": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [ConflictTextLabelScalar]
}
}
}
getSpanAndArrowRejectedLabels
Response
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
input - GetSpanAndArrowRejectedLabelsPaginatedInput!
|
|
signature - String
|
Example
Query
query GetSpanAndArrowRejectedLabels(
$documentId: ID!,
$input: GetSpanAndArrowRejectedLabelsPaginatedInput!,
$signature: String
) {
getSpanAndArrowRejectedLabels(
documentId: $documentId,
input: $input,
signature: $signature
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes
}
}
Variables
{
"documentId": "4",
"input": GetSpanAndArrowRejectedLabelsPaginatedInput,
"signature": "xyz789"
}
Response
{
"data": {
"getSpanAndArrowRejectedLabels": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ConflictTextLabelScalar]
}
}
}
getSpendingThresholdStatuses
Response
Returns [SpendingThresholdStatus!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetSpendingThresholdStatuses($teamId: ID!) {
getSpendingThresholdStatuses(teamId: $teamId) {
isExceeded
spendingThreshold {
id
teamId
amount
currency
thresholdType
thresholdEvent
createdAt
updatedAt
}
currentSpendingAmount
currentSpendingCurrency
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getSpendingThresholdStatuses": [
{
"isExceeded": true,
"spendingThreshold": SpendingThreshold,
"currentSpendingAmount": 987.65,
"currentSpendingCurrency": "abc123"
}
]
}
}
getSynchronizeJobs
Example
Query
query GetSynchronizeJobs($projectId: ID!) {
getSynchronizeJobs(projectId: $projectId) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"getSynchronizeJobs": [
{
"id": "abc123",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
]
}
}
getTags
Description
Returns a list of team-owned tags.
Response
Returns [Tag!]!
Arguments
Name | Description |
---|---|
input - GetTagsInput!
|
Example
Query
query GetTags($input: GetTagsInput!) {
getTags(input: $input) {
id
name
globalTag
}
}
Variables
{"input": GetTagsInput}
Response
{
"data": {
"getTags": [
{
"id": "4",
"name": "abc123",
"globalTag": false
}
]
}
}
getTeamApiKeys
Response
Returns [TeamApiKey!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetTeamApiKeys($teamId: ID!) {
getTeamApiKeys(teamId: $teamId) {
id
teamId
name
key
lastUsedAt
createdAt
updatedAt
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getTeamApiKeys": [
{
"id": 4,
"teamId": 4,
"name": "abc123",
"key": "xyz789",
"lastUsedAt": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
]
}
}
getTeamDetail
Response
Returns a Team!
Arguments
Name | Description |
---|---|
input - GetTeamDetailInput
|
Example
Query
query GetTeamDetail($input: GetTeamDetailInput) {
getTeamDetail(input: $input) {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Variables
{"input": GetTeamDetailInput}
Response
{
"data": {
"getTeamDetail": {
"id": "4",
"logoURL": "abc123",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
getTeamExternalApiKey
Response
Returns a TeamExternalApiKey
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetTeamExternalApiKey($teamId: ID!) {
getTeamExternalApiKey(teamId: $teamId) {
id
teamId
credentials {
provider
isConnected
openAIKey
azureOpenAIKey
azureOpenAIEndpoint
azureAIClientId
azureAICertificate
azureAITenantId
azureAISubscriptionId
azureAIResourceGroupName
azureAIAccountName
awsSagemakerRegion
awsSagemakerExternalId
awsSagemakerRoleArn
awsBedrockRegion
awsBedrockExternalId
awsBedrockRoleArn
vertexAiClientEmail
vertexAiPrivateKey
vertexAiProjectId
vertexAiRegion
}
createdAt
updatedAt
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getTeamExternalApiKey": {
"id": 4,
"teamId": "4",
"credentials": [TeamExternalApiKeyCredential],
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
getTeamMemberDetail
Response
Returns a TeamMember!
Example
Query
query GetTeamMemberDetail(
$teamId: ID!,
$memberId: ID!
) {
getTeamMemberDetail(
teamId: $teamId,
memberId: $memberId
) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"teamId": 4, "memberId": 4}
Response
{
"data": {
"getTeamMemberDetail": {
"id": "4",
"user": User,
"role": TeamRole,
"invitationEmail": "xyz789",
"invitationStatus": "xyz789",
"invitationKey": "abc123",
"isDeleted": false,
"joinedDate": "xyz789",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": 4
}
}
}
getTeamMemberPerformance
Response
Arguments
Name | Description |
---|---|
input - GetPaginatedTeamMemberPerformanceInput!
|
Example
Query
query GetTeamMemberPerformance($input: GetPaginatedTeamMemberPerformanceInput!) {
getTeamMemberPerformance(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
projectId
resourceId
projectName
labelingStatus
documentStatus {
...DocumentStatusFragment
}
projectStatus
totalLabelApplied
totalAnswerApplied
totalConflictResolved
numberOfAcceptedLabels
numberOfRejectedLabels
numberOfConflictedLabels
numberOfMissingLabels
numberOfMissedLabels
numberOfAcceptedAnswers
numberOfRejectedAnswers
numberOfConflictedAnswers
numberOfAnsweredLines
activeDurationInMillis
}
}
}
Variables
{"input": GetPaginatedTeamMemberPerformanceInput}
Response
{
"data": {
"getTeamMemberPerformance": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [GetPaginatedTeamMemberPerformance]
}
}
}
getTeamMembers
Description
Returns the specified team's members. teamId
can be seen in web UI, visible in the URL (https://datasaur.ai/teams/{teamId}/...) , or obtained via getAllTeams
.
Response
Returns [TeamMember!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetTeamMembers($teamId: ID!) {
getTeamMembers(teamId: $teamId) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getTeamMembers": [
{
"id": 4,
"user": User,
"role": TeamRole,
"invitationEmail": "xyz789",
"invitationStatus": "xyz789",
"invitationKey": "abc123",
"isDeleted": false,
"joinedDate": "abc123",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": 4
}
]
}
}
getTeamMembersPaginated
Response
Returns a GetTeamMembersPaginatedResponse!
Arguments
Name | Description |
---|---|
input - GetTeamMembersPaginatedInput!
|
Example
Query
query GetTeamMembersPaginated($input: GetTeamMembersPaginatedInput!) {
getTeamMembersPaginated(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
}
}
Variables
{"input": GetTeamMembersPaginatedInput}
Response
{
"data": {
"getTeamMembersPaginated": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [TeamMember]
}
}
}
getTeamOnboarding
Response
Returns a TeamOnboarding
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetTeamOnboarding($teamId: ID!) {
getTeamOnboarding(teamId: $teamId) {
id
teamId
state
version
tasks {
id
name
reward
completedAt
}
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getTeamOnboarding": {
"id": "4",
"teamId": "4",
"state": "NOT_OPENED",
"version": 987,
"tasks": [TeamOnboardingTask]
}
}
}
getTeamProjectAssignees
Response
Returns [ProjectAssignment!]!
Arguments
Name | Description |
---|---|
input - GetTeamProjectAssigneesInput!
|
Example
Query
query GetTeamProjectAssignees($input: GetTeamProjectAssigneesInput!) {
getTeamProjectAssignees(input: $input) {
teamMember {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
documentIds
documents {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
role
createdAt
updatedAt
}
}
Variables
{"input": GetTeamProjectAssigneesInput}
Response
{
"data": {
"getTeamProjectAssignees": [
{
"teamMember": TeamMember,
"documentIds": ["xyz789"],
"documents": [TextDocument],
"role": "LABELER",
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
]
}
}
getTeamRoles
Response
Returns [TeamRole!]
Example
Query
query GetTeamRoles {
getTeamRoles {
id
name
}
}
Response
{
"data": {
"getTeamRoles": [
{"id": "4", "name": "ADMIN"}
]
}
}
getTeamTimelineEvent
Response
Returns [TimelineEvent!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
query GetTeamTimelineEvent($teamId: ID!) {
getTeamTimelineEvent(teamId: $teamId) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
event
targetProject {
id
resourceId
name
isDeleted
}
targetDocument {
id
name
}
targetUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
created
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getTeamTimelineEvent": [
{
"id": "4",
"user": User,
"event": "abc123",
"targetProject": TimelineProject,
"targetDocument": TimelineDocument,
"targetUser": User,
"created": "abc123"
}
]
}
}
getTeamTimelineEvents
Response
Returns a GetTeamTimelineEventsResponse!
Arguments
Name | Description |
---|---|
input - GetTeamTimelineEventsInput
|
Example
Query
query GetTeamTimelineEvents($input: GetTeamTimelineEventsInput) {
getTeamTimelineEvents(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes {
id
user {
...UserFragment
}
event
targetProject {
...TimelineProjectFragment
}
targetDocument {
...TimelineDocumentFragment
}
targetUser {
...UserFragment
}
created
}
}
}
Variables
{"input": GetTeamTimelineEventsInput}
Response
{
"data": {
"getTeamTimelineEvents": {
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [TimelineEvent]
}
}
}
getTenantRedirectUrlFromCompanyId
Response
Returns a SamlRedirectResult!
Arguments
Name | Description |
---|---|
companyId - ID!
|
Example
Query
query GetTenantRedirectUrlFromCompanyId($companyId: ID!) {
getTenantRedirectUrlFromCompanyId(companyId: $companyId) {
samlTenant {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
...TeamFragment
}
allowMembersToSetPassword
}
redirectUrl
}
}
Variables
{"companyId": 4}
Response
{
"data": {
"getTenantRedirectUrlFromCompanyId": {
"samlTenant": SamlTenant,
"redirectUrl": "xyz789"
}
}
}
getTextDocument
Response
Returns a TextDocument!
Example
Query
query GetTextDocument(
$fileId: ID!,
$signature: String
) {
getTextDocument(
fileId: $fileId,
signature: $signature
) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{
"fileId": "4",
"signature": "abc123"
}
Response
{
"data": {
"getTextDocument": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"completedByUserId": "4",
"lastSavedAt": "xyz789",
"mimeType": "xyz789",
"name": "xyz789",
"projectId": "4",
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4,
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": 4,
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "xyz789",
"version": 123,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "abc123",
"part": 987
}
}
}
getTextDocumentOriginIdsByDocumentName
Description
Filter Text Document whose name matches the given regular expression. Returns the Text Document origin ID.
Example
Query
query GetTextDocumentOriginIdsByDocumentName(
$projectId: ID!,
$nameRegexString: String!
) {
getTextDocumentOriginIdsByDocumentName(
projectId: $projectId,
nameRegexString: $nameRegexString
)
}
Variables
{
"projectId": "4",
"nameRegexString": "abc123"
}
Response
{"data": {"getTextDocumentOriginIdsByDocumentName": [4]}}
getTextDocumentSettings
Response
Returns a TextDocumentSettings!
Arguments
Name | Description |
---|---|
projectId - ID!
|
Example
Query
query GetTextDocumentSettings($projectId: ID!) {
getTextDocumentSettings(projectId: $projectId) {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
urlColumnNames
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
name
pattern
flags
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
}
Variables
{"projectId": "4"}
Response
{
"data": {
"getTextDocumentSettings": {
"id": "4",
"textLabelMaxTokenLength": 987,
"allTokensMustBeLabeled": false,
"autoScrollWhenLabeling": true,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "xyz789",
"tokenizer": "xyz789",
"editSentenceTokenizer": "abc123",
"displayedRows": 123,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": false,
"enableTabularMarkdownParsing": false,
"enableAnonymization": true,
"anonymizationEntityTypes": [
"abc123"
],
"anonymizationMaskingMethod": "abc123",
"anonymizationRegExps": [RegularExpression],
"fileTransformerId": "abc123",
"rowQuestionsFormValidationScriptId": 4,
"enableRowQuestionsFormValidationScript": false
}
}
}
getTextDocumentStatistic
Response
Returns a TextDocumentStatistic!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetTextDocumentStatistic($documentId: ID!) {
getTextDocumentStatistic(documentId: $documentId) {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
userId
areDocumentQuestionsAnswered
numberOfAcceptedLabels
numberOfAppliedLabelTokens
numberOfRejectedLabels
}
documentTouched
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getTextDocumentStatistic": {
"documentId": "4",
"numberOfChunks": 123,
"numberOfSentences": 987,
"numberOfTokens": 987,
"effectiveTimeSpent": 987,
"touchedSentences": [987],
"nonDisplayedLines": [123],
"numberOfEntitiesLabeled": 987,
"numberOfNonDocumentEntitiesLabeled": 123,
"maxLabeledLine": 987,
"labelerStatistic": [LabelerStatistic],
"documentTouched": false
}
}
}
getTimestampLabels
Response
Returns [TimestampLabel!]!
Example
Query
query GetTimestampLabels(
$documentId: ID!,
$fromTimestampMillis: Int
) {
getTimestampLabels(
documentId: $documentId,
fromTimestampMillis: $fromTimestampMillis
) {
id
documentId
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
startTimestampMillis
endTimestampMillis
type
}
}
Variables
{"documentId": 4, "fromTimestampMillis": 987}
Response
{
"data": {
"getTimestampLabels": [
{
"id": 4,
"documentId": 4,
"layer": 987,
"position": TextRange,
"startTimestampMillis": 123,
"endTimestampMillis": 987,
"type": "ARROW"
}
]
}
}
getTimestampLabelsAtTimestamp
Response
Returns [TimestampLabel!]!
Example
Query
query GetTimestampLabelsAtTimestamp(
$documentId: ID!,
$timestampMillis: Int
) {
getTimestampLabelsAtTimestamp(
documentId: $documentId,
timestampMillis: $timestampMillis
) {
id
documentId
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
startTimestampMillis
endTimestampMillis
type
}
}
Variables
{"documentId": "4", "timestampMillis": 123}
Response
{
"data": {
"getTimestampLabelsAtTimestamp": [
{
"id": 4,
"documentId": "4",
"layer": 123,
"position": TextRange,
"startTimestampMillis": 987,
"endTimestampMillis": 123,
"type": "ARROW"
}
]
}
}
getTokenUnitPrices
Response
Returns a TokenUnitPriceResponse!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
input - TokenUnitPriceInput!
|
Example
Query
query GetTokenUnitPrices(
$teamId: ID!,
$input: TokenUnitPriceInput!
) {
getTokenUnitPrices(
teamId: $teamId,
input: $input
) {
inputTokenUnitPrice
outputTokenUnitPrice
embeddingTokenUnitPrice
}
}
Variables
{"teamId": 4, "input": TokenUnitPriceInput}
Response
{
"data": {
"getTokenUnitPrices": {
"inputTokenUnitPrice": 987.65,
"outputTokenUnitPrice": 987.65,
"embeddingTokenUnitPrice": 987.65
}
}
}
getTotalPlaygroundCostPrediction
Response
Returns a CostPredictionTotalPrice!
Example
Query
query GetTotalPlaygroundCostPrediction(
$llmApplicationId: ID!,
$promptIds: [ID!],
$playgroundRagConfigIds: [ID!],
$withAttachments: Boolean
) {
getTotalPlaygroundCostPrediction(
llmApplicationId: $llmApplicationId,
promptIds: $promptIds,
playgroundRagConfigIds: $playgroundRagConfigIds,
withAttachments: $withAttachments
) {
coveredByDatasaur
notCoveredByDatasaur
total
}
}
Variables
{
"llmApplicationId": 4,
"promptIds": [4],
"playgroundRagConfigIds": ["4"],
"withAttachments": true
}
Response
{
"data": {
"getTotalPlaygroundCostPrediction": {
"coveredByDatasaur": 987.65,
"notCoveredByDatasaur": 123.45,
"total": 123.45
}
}
}
getUnusedLabelSetItemInfos
Description
Get all unused label classes excluding label class which marked as N/A
Response
Returns [UnusedLabelSetItemInfo!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
query GetUnusedLabelSetItemInfos($documentId: ID!) {
getUnusedLabelSetItemInfos(documentId: $documentId) {
labelSetId
labelSetName
items {
id
parentId
tagName
desc
color
type
arrowRules {
...LabelClassArrowRuleFragment
}
}
}
}
Variables
{"documentId": 4}
Response
{
"data": {
"getUnusedLabelSetItemInfos": [
{
"labelSetId": "4",
"labelSetName": "xyz789",
"items": [TagItem]
}
]
}
}
getUserAccountDetails
Response
Returns a UserAccountDetails!
Example
Query
query GetUserAccountDetails {
getUserAccountDetails {
hasPassword
signUpMethod
}
}
Response
{
"data": {
"getUserAccountDetails": {
"hasPassword": false,
"signUpMethod": "EMAIL_PASSWORD"
}
}
}
getUserTeamMemberSetPasswordPermission
Response
Returns a Boolean!
Example
Query
query GetUserTeamMemberSetPasswordPermission {
getUserTeamMemberSetPasswordPermission
}
Response
{"data": {"getUserTeamMemberSetPasswordPermission": true}}
getUserTotpRecoveryCodes
Response
Returns a TotpRecoveryCodes!
Arguments
Name | Description |
---|---|
totpCode - TotpCodeInput!
|
Example
Query
query GetUserTotpRecoveryCodes($totpCode: TotpCodeInput!) {
getUserTotpRecoveryCodes(totpCode: $totpCode) {
recoveryCodes
}
}
Variables
{"totpCode": TotpCodeInput}
Response
{
"data": {
"getUserTotpRecoveryCodes": {
"recoveryCodes": ["abc123"]
}
}
}
getWaveformPeaks
Description
Generate audiowaveform data for an audio project. Waveform data generated by using https://github.com/bbc/audiowaveform
Response
Returns a WaveformPeaks!
Example
Query
query GetWaveformPeaks(
$documentId: String!,
$pixelPerSecond: Int
) {
getWaveformPeaks(
documentId: $documentId,
pixelPerSecond: $pixelPerSecond
) {
peaks
pixelPerSecond
}
}
Variables
{
"documentId": "abc123",
"pixelPerSecond": 123
}
Response
{"data": {"getWaveformPeaks": {"peaks": [987.65], "pixelPerSecond": 123}}}
hasAWSMarketplaceSession
Response
Returns a Boolean!
Example
Query
query HasAWSMarketplaceSession {
hasAWSMarketplaceSession
}
Response
{"data": {"hasAWSMarketplaceSession": true}}
isCustomerOnFreeTrial
isDatasaurPredictiveReadyForTraining
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - DatasaurPredictiveReadyForTrainingInput!
|
Example
Query
query IsDatasaurPredictiveReadyForTraining($input: DatasaurPredictiveReadyForTrainingInput!) {
isDatasaurPredictiveReadyForTraining(input: $input)
}
Variables
{"input": DatasaurPredictiveReadyForTrainingInput}
Response
{"data": {"isDatasaurPredictiveReadyForTraining": true}}
isLlmInternalApplicationAvailable
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - IsLlmInternalApplicationAvailableInput!
|
Example
Query
query IsLlmInternalApplicationAvailable($input: IsLlmInternalApplicationAvailableInput!) {
isLlmInternalApplicationAvailable(input: $input)
}
Variables
{"input": IsLlmInternalApplicationAvailableInput}
Response
{"data": {"isLlmInternalApplicationAvailable": true}}
isOAuthClientExist
Description
Returns true if oauth client has been generated before.
Response
Returns a Boolean!
Example
Query
query IsOAuthClientExist {
isOAuthClientExist
}
Response
{"data": {"isOAuthClientExist": true}}
isTotpVerificationRequired
Response
Returns a Boolean!
Example
Query
query IsTotpVerificationRequired {
isTotpVerificationRequired
}
Response
{"data": {"isTotpVerificationRequired": false}}
listChunks
Response
Returns [DocumentChunk!]!
Arguments
Name | Description |
---|---|
input - ListChunksInput!
|
Example
Query
query ListChunks($input: ListChunksInput!) {
listChunks(input: $input) {
text
metadata
embedding
}
}
Variables
{"input": ListChunksInput}
Response
{
"data": {
"listChunks": [
{
"text": "xyz789",
"metadata": DocumentChunkMetadata,
"embedding": [987.65]
}
]
}
}
llmVectorStoreSearch
Response
Returns [LlmVectorStoreSearchResponse!]!
Arguments
Name | Description |
---|---|
input - LlmVectorStoreSearchInput!
|
Example
Query
query LlmVectorStoreSearch($input: LlmVectorStoreSearchInput!) {
llmVectorStoreSearch(input: $input) {
content
metadata
score
}
}
Variables
{"input": LlmVectorStoreSearchInput}
Response
{
"data": {
"llmVectorStoreSearch": [
{
"content": "abc123",
"metadata": "xyz789",
"score": 123.45
}
]
}
}
me
Response
Returns a User
Example
Query
query Me {
me {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
utmSource
utmMedium
utmCampaign
}
}
}
Response
{
"data": {
"me": {
"id": 4,
"samlId": "xyz789",
"amazonCustomerId": "abc123",
"username": "xyz789",
"name": "xyz789",
"email": "xyz789",
"package": "ENTERPRISE",
"profilePicture": "xyz789",
"allowedActions": ["AUTOMATED_TEST"],
"displayName": "abc123",
"teamPackage": "ENTERPRISE",
"emailVerified": true,
"totpAuthEnabled": true,
"companyName": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"signUpParams": SignUpParams
}
}
}
readChunk
Response
Returns a DocumentChunk!
Arguments
Name | Description |
---|---|
input - ReadChunkInput!
|
Example
Query
query ReadChunk($input: ReadChunkInput!) {
readChunk(input: $input) {
text
metadata
embedding
}
}
Variables
{"input": ReadChunkInput}
Response
{
"data": {
"readChunk": {
"text": "abc123",
"metadata": DocumentChunkMetadata,
"embedding": [123.45]
}
}
}
replicateCabinet
Description
Replicate cabinet if not exist
Example
Query
query ReplicateCabinet(
$projectId: ID!,
$role: Role!
) {
replicateCabinet(
projectId: $projectId,
role: $role
) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"projectId": 4, "role": "REVIEWER"}
Response
{
"data": {
"replicateCabinet": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
validateCabinet
Description
Checks whether the cabinet can be safely mark as completed or not. Returns true if valid, causes error otherwise
Example
Query
query ValidateCabinet(
$projectId: ID!,
$role: Role!
) {
validateCabinet(
projectId: $projectId,
role: $role
)
}
Variables
{"projectId": "4", "role": "REVIEWER"}
Response
{"data": {"validateCabinet": false}}
validateLLMAssistedLabelingSettings
Response
Returns an ValidateLLMAssistedLabelingSettingsOutput!
Arguments
Name | Description |
---|---|
input - ValidateLLMAssistedLabelingSettingsInput!
|
Example
Query
query ValidateLLMAssistedLabelingSettings($input: ValidateLLMAssistedLabelingSettingsInput!) {
validateLLMAssistedLabelingSettings(input: $input) {
valid
errorMessage
}
}
Variables
{"input": ValidateLLMAssistedLabelingSettingsInput}
Response
{
"data": {
"validateLLMAssistedLabelingSettings": {
"valid": true,
"errorMessage": "abc123"
}
}
}
verifyBetaKey
verifyInvitationLink
Response
Returns an InvitationVerificationResult!
Example
Query
query VerifyInvitationLink(
$teamId: String!,
$invitationKey: String!
) {
verifyInvitationLink(
teamId: $teamId,
invitationKey: $invitationKey
) {
isValid
userIsRegistered
email
teamId
companyName
}
}
Variables
{
"teamId": "xyz789",
"invitationKey": "xyz789"
}
Response
{
"data": {
"verifyInvitationLink": {
"isValid": true,
"userIsRegistered": true,
"email": "xyz789",
"teamId": 4,
"companyName": "abc123"
}
}
}
verifyPassword
verifyResetPasswordSignature
verifyTotpCode
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
totpCode - TotpCodeInput!
|
Example
Query
query VerifyTotpCode($totpCode: TotpCodeInput!) {
verifyTotpCode(totpCode: $totpCode)
}
Variables
{"totpCode": TotpCodeInput}
Response
{"data": {"verifyTotpCode": true}}
verifyUserTotpEnabled
Mutations
acceptBoundingBoxConflict
Response
Returns [BoundingBoxLabel!]!
Example
Query
mutation AcceptBoundingBoxConflict(
$documentId: ID!,
$boundingBoxLabelIds: [ID!]!
) {
acceptBoundingBoxConflict(
documentId: $documentId,
boundingBoxLabelIds: $boundingBoxLabelIds
) {
id
documentId
coordinates {
x
y
}
counter
pageIndex
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
hashCode
type
labeledBy
}
}
Variables
{
"documentId": "4",
"boundingBoxLabelIds": [4]
}
Response
{
"data": {
"acceptBoundingBoxConflict": [
{
"id": "4",
"documentId": "4",
"coordinates": [Coordinate],
"counter": 987,
"pageIndex": 123,
"layer": 123,
"position": TextRange,
"hashCode": "abc123",
"type": "ARROW",
"labeledBy": "PRELABELED"
}
]
}
}
acceptInvitation
Example
Query
mutation AcceptInvitation($invitationKey: String!) {
acceptInvitation(invitationKey: $invitationKey) {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Variables
{"invitationKey": "abc123"}
Response
{
"data": {
"acceptInvitation": {
"id": 4,
"logoURL": "abc123",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "abc123",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
acceptTimestampLabelConflicts
Response
Returns [TimestampLabel!]!
Example
Query
mutation AcceptTimestampLabelConflicts(
$documentId: ID!,
$labelIds: [ID!]!
) {
acceptTimestampLabelConflicts(
documentId: $documentId,
labelIds: $labelIds
) {
id
documentId
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
startTimestampMillis
endTimestampMillis
type
}
}
Variables
{"documentId": "4", "labelIds": [4]}
Response
{
"data": {
"acceptTimestampLabelConflicts": [
{
"id": "4",
"documentId": 4,
"layer": 123,
"position": TextRange,
"startTimestampMillis": 987,
"endTimestampMillis": 987,
"type": "ARROW"
}
]
}
}
activateUser
Response
Returns a LoginSuccess
Example
Query
mutation ActivateUser(
$email: String!,
$activationCode: String!
) {
activateUser(
email: $email,
activationCode: $activationCode
) {
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
redirect
}
}
Variables
{
"email": "xyz789",
"activationCode": "abc123"
}
Response
{
"data": {
"activateUser": {
"user": User,
"redirect": "abc123"
}
}
}
addActiveDuration
Response
Returns a Boolean
Arguments
Name | Description |
---|---|
input - AddActiveDurationInput!
|
Example
Query
mutation AddActiveDuration($input: AddActiveDurationInput!) {
addActiveDuration(input: $input)
}
Variables
{"input": AddActiveDurationInput}
Response
{"data": {"addActiveDuration": true}}
addCustomModel
Response
Returns a LlmModel!
Arguments
Name | Description |
---|---|
input - AddLlmCustomModelInput!
|
Example
Query
mutation AddCustomModel($input: AddLlmCustomModelInput!) {
addCustomModel(input: $input) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"input": AddLlmCustomModelInput}
Response
{
"data": {
"addCustomModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "abc123",
"url": "abc123",
"maxTemperature": 123.45,
"maxTopP": 123.45,
"maxTokens": 987,
"maxContextWindow": 123,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"forceAnonymization": false,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
addDocumentsToProject
Description
Adds new documents to the specified project Documents' source configuration will follow the original project's config. If the original project uses an External Object Storage, the new documents must also come from the same storage.
Response
Returns an AddDocumentsToProjectJob!
Arguments
Name | Description |
---|---|
input - AddDocumentsToProjectInput!
|
Example
Query
mutation AddDocumentsToProject($input: AddDocumentsToProjectInput!) {
addDocumentsToProject(input: $input) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
}
}
Variables
{"input": AddDocumentsToProjectInput}
Response
{
"data": {
"addDocumentsToProject": {
"job": Job,
"name": "abc123"
}
}
}
addGroundTruthsToGroundTruthSet
Response
Returns [GroundTruth!]!
Arguments
Name | Description |
---|---|
input - AddGroundTruthsToGroundTruthSetInput!
|
Example
Query
mutation AddGroundTruthsToGroundTruthSet($input: AddGroundTruthsToGroundTruthSetInput!) {
addGroundTruthsToGroundTruthSet(input: $input) {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
}
Variables
{"input": AddGroundTruthsToGroundTruthSetInput}
Response
{
"data": {
"addGroundTruthsToGroundTruthSet": [
{
"id": "4",
"groundTruthSetId": 4,
"prompt": "xyz789",
"answer": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
addLabelingFunction
Response
Returns a LabelingFunction!
Arguments
Name | Description |
---|---|
input - AddLabelingFunctionInput!
|
Example
Query
mutation AddLabelingFunction($input: AddLabelingFunctionInput!) {
addLabelingFunction(input: $input) {
id
dataProgrammingId
heuristicArgument
annotatorArgument
name
content
active
createdAt
updatedAt
}
}
Variables
{"input": AddLabelingFunctionInput}
Response
{
"data": {
"addLabelingFunction": {
"id": 4,
"dataProgrammingId": 4,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "xyz789",
"active": false,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
addProjectMetadata
Description
Adds metadata to a project. If the specified metadata already exists, mutation will throw an error.
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - ProjectMetadataInput!
|
Example
Query
mutation AddProjectMetadata($input: ProjectMetadataInput!) {
addProjectMetadata(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": ProjectMetadataInput}
Response
{
"data": {
"addProjectMetadata": {
"id": 4,
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "abc123",
"completedDate": "xyz789",
"exportedDate": "abc123",
"updatedDate": "abc123",
"isOwnerMe": true,
"isReviewByMeAllowed": true,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
allowIPs
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
allowedIPs - [String!]!
|
Example
Query
mutation AllowIPs($allowedIPs: [String!]!) {
allowIPs(allowedIPs: $allowedIPs)
}
Variables
{"allowedIPs": ["xyz789"]}
Response
{"data": {"allowIPs": ["xyz789"]}}
appendLabelSetTagItems
Description
Adds new labelset item to the specified labelset.
Response
Returns [TagItem!]
Arguments
Name | Description |
---|---|
input - AppendLabelSetTagItemsInput!
|
Example
Query
mutation AppendLabelSetTagItems($input: AppendLabelSetTagItemsInput!) {
appendLabelSetTagItems(input: $input) {
id
parentId
tagName
desc
color
type
arrowRules {
originIds
destinationIds
}
}
}
Variables
{"input": AppendLabelSetTagItemsInput}
Response
{
"data": {
"appendLabelSetTagItems": [
{
"id": "xyz789",
"parentId": 4,
"tagName": "xyz789",
"desc": "xyz789",
"color": "abc123",
"type": "SPAN",
"arrowRules": [LabelClassArrowRule]
}
]
}
}
autoLabelDocBasedProject
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - AutoLabelDocBasedProjectInput!
|
Example
Query
mutation AutoLabelDocBasedProject($input: AutoLabelDocBasedProjectInput!) {
autoLabelDocBasedProject(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": AutoLabelDocBasedProjectInput}
Response
{
"data": {
"autoLabelDocBasedProject": {
"id": "abc123",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
autoLabelReviewTextDocumentBasedOnConsensus
Response
Returns a TextDocument!
Arguments
Name | Description |
---|---|
input - AutoLabelReviewTextDocumentBasedOnConsensusInput!
|
Example
Query
mutation AutoLabelReviewTextDocumentBasedOnConsensus($input: AutoLabelReviewTextDocumentBasedOnConsensusInput!) {
autoLabelReviewTextDocumentBasedOnConsensus(input: $input) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{
"input": AutoLabelReviewTextDocumentBasedOnConsensusInput
}
Response
{
"data": {
"autoLabelReviewTextDocumentBasedOnConsensus": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 123,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"completedByUserId": "4",
"lastSavedAt": "xyz789",
"mimeType": "abc123",
"name": "abc123",
"projectId": "4",
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": "4",
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": 4,
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "xyz789",
"version": 123,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 123
}
}
}
autoLabelRowBasedProject
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - AutoLabelRowBasedProjectInput!
|
Example
Query
mutation AutoLabelRowBasedProject($input: AutoLabelRowBasedProjectInput!) {
autoLabelRowBasedProject(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": AutoLabelRowBasedProjectInput}
Response
{
"data": {
"autoLabelRowBasedProject": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
}
}
autoLabelTokenBasedProject
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - AutoLabelTokenBasedProjectInput!
|
Example
Query
mutation AutoLabelTokenBasedProject($input: AutoLabelTokenBasedProjectInput!) {
autoLabelTokenBasedProject(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": AutoLabelTokenBasedProjectInput}
Response
{
"data": {
"autoLabelTokenBasedProject": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
awsMarketplaceSubscription
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - AwsMarketplaceSubscriptionInput!
|
Example
Query
mutation AwsMarketplaceSubscription($input: AwsMarketplaceSubscriptionInput!) {
awsMarketplaceSubscription(input: $input)
}
Variables
{"input": AwsMarketplaceSubscriptionInput}
Response
{"data": {"awsMarketplaceSubscription": false}}
bulkSetPasswordsExpiredAt
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
userIds - [String!]!
|
|
passwordExpiredAt - DateTime
|
|
datasaurApp - DatasaurApp
|
Example
Query
mutation BulkSetPasswordsExpiredAt(
$userIds: [String!]!,
$passwordExpiredAt: DateTime,
$datasaurApp: DatasaurApp
) {
bulkSetPasswordsExpiredAt(
userIds: $userIds,
passwordExpiredAt: $passwordExpiredAt,
datasaurApp: $datasaurApp
)
}
Variables
{
"userIds": ["abc123"],
"passwordExpiredAt": "2007-12-03T10:15:30Z",
"datasaurApp": "NLP"
}
Response
{"data": {"bulkSetPasswordsExpiredAt": false}}
calculateAgreementTables
Example
Query
mutation CalculateAgreementTables($projectId: ID!) {
calculateAgreementTables(projectId: $projectId) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"projectId": 4}
Response
{
"data": {
"calculateAgreementTables": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
}
}
calculateIAA
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
projectIds - [ID!]!
|
Example
Query
mutation CalculateIAA($projectIds: [ID!]!) {
calculateIAA(projectIds: $projectIds)
}
Variables
{"projectIds": ["4"]}
Response
{"data": {"calculateIAA": ["abc123"]}}
calculatePairKappas
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
projectIds - [ID!]!
|
Example
Query
mutation CalculatePairKappas($projectIds: [ID!]!) {
calculatePairKappas(projectIds: $projectIds)
}
Variables
{"projectIds": ["4"]}
Response
{
"data": {
"calculatePairKappas": ["abc123"]
}
}
changePassword
Response
Returns a String!
Arguments
Name | Description |
---|---|
input - ChangePasswordInput!
|
Example
Query
mutation ChangePassword($input: ChangePasswordInput!) {
changePassword(input: $input)
}
Variables
{"input": ChangePasswordInput}
Response
{"data": {"changePassword": "xyz789"}}
chunkFile
Response
Returns [DocumentChunk]!
Arguments
Name | Description |
---|---|
input - CreateDocumentChunkInput!
|
Example
Query
mutation ChunkFile($input: CreateDocumentChunkInput!) {
chunkFile(input: $input) {
text
metadata
embedding
}
}
Variables
{"input": CreateDocumentChunkInput}
Response
{
"data": {
"chunkFile": [
{
"text": "abc123",
"metadata": DocumentChunkMetadata,
"embedding": [123.45]
}
]
}
}
clearAllLabelsOnTextDocument
resetLabelingWork
instead. Description
Deprecated. If you want to clear all labels on a document, please use resetLabelingWork
instead.
Response
Returns a ClearAllLabelsOnTextDocumentResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
mutation ClearAllLabelsOnTextDocument($documentId: ID!) {
clearAllLabelsOnTextDocument(documentId: $documentId) {
affectedChunkIds
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
lastSavedAt
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"clearAllLabelsOnTextDocument": {
"affectedChunkIds": [123],
"statistic": TextDocumentStatistic,
"lastSavedAt": "abc123"
}
}
}
clearAllSpanAndArrowLabels
Response
Returns a ClearAllLabelsOnTextDocumentResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
mutation ClearAllSpanAndArrowLabels($documentId: ID!) {
clearAllSpanAndArrowLabels(documentId: $documentId) {
affectedChunkIds
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
lastSavedAt
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"clearAllSpanAndArrowLabels": {
"affectedChunkIds": [987],
"statistic": TextDocumentStatistic,
"lastSavedAt": "xyz789"
}
}
}
createAndDeployLlmModel
Response
Returns a LlmModel!
Arguments
Name | Description |
---|---|
input - LlmModelDeployInput!
|
Example
Query
mutation CreateAndDeployLlmModel($input: LlmModelDeployInput!) {
createAndDeployLlmModel(input: $input) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"input": LlmModelDeployInput}
Response
{
"data": {
"createAndDeployLlmModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "abc123",
"url": "abc123",
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 123,
"defaultTemperature": 123.45,
"defaultTopP": 123.45,
"defaultMaxTokens": 123,
"minTemperature": 987.65,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
createChunk
Response
Returns a CreateChunkResponse!
Arguments
Name | Description |
---|---|
input - CreateChunkInput!
|
Example
Query
mutation CreateChunk($input: CreateChunkInput!) {
createChunk(input: $input) {
createdChunk {
text
metadata
embedding
}
previousChunk {
text
metadata
embedding
}
nextChunk {
text
metadata
embedding
}
}
}
Variables
{"input": CreateChunkInput}
Response
{
"data": {
"createChunk": {
"createdChunk": DocumentChunk,
"previousChunk": DocumentChunk,
"nextChunk": DocumentChunk
}
}
}
createComment
Response
Returns a Comment!
Example
Query
mutation CreateComment(
$documentId: ID!,
$message: String!,
$hashCode: String!
) {
createComment(
documentId: $documentId,
message: $message,
hashCode: $hashCode
) {
id
parentId
documentId
originDocumentId
userId
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
message
resolved
resolvedAt
resolvedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
repliesCount
createdAt
updatedAt
lastEditedAt
hashCode
commentedContent {
hashCodeType
contexts {
...CommentedContentContextValueFragment
}
currentValue {
...CommentedContentCurrentValueFragment
}
}
}
}
Variables
{
"documentId": "4",
"message": "abc123",
"hashCode": "xyz789"
}
Response
{
"data": {
"createComment": {
"id": "4",
"parentId": 4,
"documentId": "4",
"originDocumentId": "4",
"userId": 987,
"user": User,
"message": "xyz789",
"resolved": false,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "abc123",
"updatedAt": "xyz789",
"lastEditedAt": "xyz789",
"hashCode": "xyz789",
"commentedContent": CommentedContent
}
}
}
createCreateProjectAction
Response
Returns a CreateProjectAction
Arguments
Name | Description |
---|---|
input - CreateCreateProjectActionInput!
|
Example
Query
mutation CreateCreateProjectAction($input: CreateCreateProjectActionInput!) {
createCreateProjectAction(input: $input) {
id
name
teamId
appVersion
creatorId
lastRunAt
lastFinishedAt
externalObjectStorageId
externalObjectStorage {
id
cloudService
bucketId
bucketName
credentials {
...ExternalObjectStorageCredentialsFragment
}
securityToken
team {
...TeamFragment
}
projects {
...ProjectFragment
}
createdAt
updatedAt
}
externalObjectStoragePathInput
externalObjectStoragePathResult
projectTemplateId
projectTemplate {
id
name
teamId
team {
...TeamFragment
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
...ProjectTemplateProjectSettingFragment
}
projectTemplateTextDocumentSetting {
...ProjectTemplateTextDocumentSettingFragment
}
labelSetTemplates {
...LabelSetTemplateFragment
}
questionSets {
...QuestionSetFragment
}
createdAt
updatedAt
purpose
creatorId
}
assignments {
id
actionId
role
teamMember {
...TeamMemberFragment
}
teamMemberId
totalAssignedAsLabeler
totalAssignedAsReviewer
}
additionalTagNames
numberOfLabelersPerProject
numberOfReviewersPerProject
numberOfLabelersPerDocument
conflictResolutionMode
consensus
warnings
}
}
Variables
{"input": CreateCreateProjectActionInput}
Response
{
"data": {
"createCreateProjectAction": {
"id": 4,
"name": "abc123",
"teamId": 4,
"appVersion": "xyz789",
"creatorId": 4,
"lastRunAt": "xyz789",
"lastFinishedAt": "abc123",
"externalObjectStorageId": "4",
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "abc123",
"externalObjectStoragePathResult": "abc123",
"projectTemplateId": 4,
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["xyz789"],
"numberOfLabelersPerProject": 123,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 123,
"warnings": ["ASSIGNED_LABELER_NOT_MEET_CONSENSUS"]
}
}
}
createCustomAPI
Response
Returns a CustomAPI!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
input - CreateCustomAPIInput!
|
Example
Query
mutation CreateCustomAPI(
$teamId: ID!,
$input: CreateCustomAPIInput!
) {
createCustomAPI(
teamId: $teamId,
input: $input
) {
id
teamId
endpointURL
name
purpose
}
}
Variables
{
"teamId": "4",
"input": CreateCustomAPIInput
}
Response
{
"data": {
"createCustomAPI": {
"id": 4,
"teamId": "4",
"endpointURL": "abc123",
"name": "xyz789",
"purpose": "ASR_API"
}
}
}
createExternalObjectStorage
Response
Returns an ExternalObjectStorage!
Arguments
Name | Description |
---|---|
input - CreateExternalObjectStorageInput!
|
Example
Query
mutation CreateExternalObjectStorage($input: CreateExternalObjectStorageInput!) {
createExternalObjectStorage(input: $input) {
id
cloudService
bucketId
bucketName
credentials {
roleArn
externalId
serviceAccount
tenantId
storageContainerUrl
region
tenantUsername
}
securityToken
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
projects {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
createdAt
updatedAt
}
}
Variables
{"input": CreateExternalObjectStorageInput}
Response
{
"data": {
"createExternalObjectStorage": {
"id": 4,
"cloudService": "AWS_S3",
"bucketId": "xyz789",
"bucketName": "xyz789",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "abc123",
"team": Team,
"projects": [Project],
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
createFileTransformer
Response
Returns a FileTransformer!
Arguments
Name | Description |
---|---|
input - CreateFileTransformerInput!
|
Example
Query
mutation CreateFileTransformer($input: CreateFileTransformerInput!) {
createFileTransformer(input: $input) {
id
name
content
transpiled
createdAt
updatedAt
language
purpose
readonly
externalId
warmup
}
}
Variables
{"input": CreateFileTransformerInput}
Response
{
"data": {
"createFileTransformer": {
"id": "4",
"name": "abc123",
"content": "abc123",
"transpiled": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": true,
"externalId": "abc123",
"warmup": false
}
}
}
createGroundTruthSet
Response
Returns a GroundTruthSet!
Arguments
Name | Description |
---|---|
input - CreateGroundTruthSetInput!
|
Example
Query
mutation CreateGroundTruthSet($input: CreateGroundTruthSetInput!) {
createGroundTruthSet(input: $input) {
id
name
teamId
createdByUserId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
itemsCount
createdAt
updatedAt
}
}
Variables
{"input": CreateGroundTruthSetInput}
Response
{
"data": {
"createGroundTruthSet": {
"id": "4",
"name": "abc123",
"teamId": 4,
"createdByUserId": "4",
"createdByUser": User,
"items": [GroundTruth],
"itemsCount": 987,
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
createGroundTruthSetForFineTuning
Response
Returns a GroundTruthSet!
Arguments
Name | Description |
---|---|
input - CreateGroundTruthSetForFineTuningInput!
|
Example
Query
mutation CreateGroundTruthSetForFineTuning($input: CreateGroundTruthSetForFineTuningInput!) {
createGroundTruthSetForFineTuning(input: $input) {
id
name
teamId
createdByUserId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
itemsCount
createdAt
updatedAt
}
}
Variables
{"input": CreateGroundTruthSetForFineTuningInput}
Response
{
"data": {
"createGroundTruthSetForFineTuning": {
"id": 4,
"name": "xyz789",
"teamId": 4,
"createdByUserId": "4",
"createdByUser": User,
"items": [GroundTruth],
"itemsCount": 123,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
createGuideline
Response
Returns a Guideline!
Example
Query
mutation CreateGuideline(
$name: String!,
$content: String!,
$teamId: ID
) {
createGuideline(
name: $name,
content: $content,
teamId: $teamId
) {
id
name
content
project {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
}
}
Variables
{
"name": "abc123",
"content": "xyz789",
"teamId": "4"
}
Response
{
"data": {
"createGuideline": {
"id": 4,
"name": "xyz789",
"content": "abc123",
"project": Project
}
}
}
createLLMApplicationDocBased
Response
Returns an CreateLLMApplicationDocBasedOutput!
Arguments
Name | Description |
---|---|
input - CreateLLMApplicationDocBasedInput!
|
Example
Query
mutation CreateLLMApplicationDocBased($input: CreateLLMApplicationDocBasedInput!) {
createLLMApplicationDocBased(input: $input) {
llmApplicationId
}
}
Variables
{"input": CreateLLMApplicationDocBasedInput}
Response
{"data": {"createLLMApplicationDocBased": {"llmApplicationId": 4}}}
createLabelSet
Description
Creates a new labelset. The created labelset will appear in getCabinetLabelSetsById
Response
Returns a LabelSet!
Arguments
Name | Description |
---|---|
input - CreateLabelSetInput!
|
|
projectId - ID
|
Example
Query
mutation CreateLabelSet(
$input: CreateLabelSetInput!,
$projectId: ID
) {
createLabelSet(
input: $input,
projectId: $projectId
) {
id
name
index
signature
tagItems {
id
parentId
tagName
desc
color
type
arrowRules {
...LabelClassArrowRuleFragment
}
}
lastUsedBy {
projectId
name
}
arrowLabelRequired
leafOnlyOption
}
}
Variables
{"input": CreateLabelSetInput, "projectId": 4}
Response
{
"data": {
"createLabelSet": {
"id": 4,
"name": "abc123",
"index": 123,
"signature": "abc123",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": false,
"leafOnlyOption": true
}
}
}
createLabelSetTemplate
Description
Creates a new labelset template.
Response
Returns a LabelSetTemplate
Arguments
Name | Description |
---|---|
input - CreateLabelSetTemplateInput!
|
Example
Query
mutation CreateLabelSetTemplate($input: CreateLabelSetTemplateInput!) {
createLabelSetTemplate(input: $input) {
id
name
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
type
items {
id
labelSetTemplateId
index
parentIndex
name
description
options {
...LabelSetConfigOptionsFragment
}
arrowLabelRequired
required
multipleChoice
type
minLength
maxLength
pattern
min
max
step
multiline
hint
theme
bindToColumn
format
defaultValue
createdAt
updatedAt
activationConditionLogic
}
count
createdAt
updatedAt
leafOnlyOption
}
}
Variables
{"input": CreateLabelSetTemplateInput}
Response
{
"data": {
"createLabelSetTemplate": {
"id": 4,
"name": "xyz789",
"owner": User,
"type": "QUESTION",
"items": [LabelSetTemplateItem],
"count": 123,
"createdAt": "xyz789",
"updatedAt": "abc123",
"leafOnlyOption": false
}
}
}
createLlmApplication
Response
Returns a LlmApplication!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
mutation CreateLlmApplication($teamId: ID!) {
createLlmApplication(teamId: $teamId) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
totalRagConfigs
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"createLlmApplication": {
"id": "4",
"teamId": "4",
"createdByUser": User,
"name": "abc123",
"status": "DEPLOYED",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"llmApplicationDeployment": LlmApplicationDeployment,
"totalRagConfigs": 987
}
}
}
createLlmApplicationConfiguration
Response
Returns a LlmApplicationConfiguration!
Arguments
Name | Description |
---|---|
input - CreateLlmApplicationConfigurationInput!
|
Example
Query
mutation CreateLlmApplicationConfiguration($input: CreateLlmApplicationConfigurationInput!) {
createLlmApplicationConfiguration(input: $input) {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmRagConfigId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"input": CreateLlmApplicationConfigurationInput}
Response
{
"data": {
"createLlmApplicationConfiguration": {
"id": "4",
"name": "xyz789",
"teamId": "4",
"createdByUserId": "4",
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": 4,
"llmRagConfig": LlmRagConfig,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false
}
}
}
createLlmApplicationPlaygroundPromptAttachments
Response
Returns a LlmApplicationPlaygroundPrompt!
Arguments
Name | Description |
---|---|
id - ID!
|
|
input - [LlmApplicationPlaygroundPromptNewAttachmentInput!]!
|
Example
Query
mutation CreateLlmApplicationPlaygroundPromptAttachments(
$id: ID!,
$input: [LlmApplicationPlaygroundPromptNewAttachmentInput!]!
) {
createLlmApplicationPlaygroundPromptAttachments(
id: $id,
input: $input
) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{
"id": 4,
"input": [
LlmApplicationPlaygroundPromptNewAttachmentInput
]
}
Response
{
"data": {
"createLlmApplicationPlaygroundPromptAttachments": {
"id": "4",
"llmApplicationId": 4,
"name": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
}
}
createLlmApplicationPlaygroundPrompts
Response
Arguments
Name | Description |
---|---|
input - LlmApplicationPlaygroundPromptCreateInput!
|
Example
Query
mutation CreateLlmApplicationPlaygroundPrompts($input: LlmApplicationPlaygroundPromptCreateInput!) {
createLlmApplicationPlaygroundPrompts(input: $input) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{"input": LlmApplicationPlaygroundPromptCreateInput}
Response
{
"data": {
"createLlmApplicationPlaygroundPrompts": [
{
"id": 4,
"llmApplicationId": "4",
"name": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
]
}
}
createLlmApplicationPlaygroundPromptsFromDataset
Response
Arguments
Name | Description |
---|---|
input - LlmApplicationPlaygroundPromptCreateFromDatasetInput
|
Example
Query
mutation CreateLlmApplicationPlaygroundPromptsFromDataset($input: LlmApplicationPlaygroundPromptCreateFromDatasetInput) {
createLlmApplicationPlaygroundPromptsFromDataset(input: $input) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{
"input": LlmApplicationPlaygroundPromptCreateFromDatasetInput
}
Response
{
"data": {
"createLlmApplicationPlaygroundPromptsFromDataset": [
{
"id": 4,
"llmApplicationId": "4",
"name": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
]
}
}
createLlmApplicationPlaygroundRagConfig
Response
Returns a LlmApplicationPlaygroundRagConfig!
Arguments
Name | Description |
---|---|
input - LlmApplicationPlaygroundRagConfigCreateInput!
|
Example
Query
mutation CreateLlmApplicationPlaygroundRagConfig($input: LlmApplicationPlaygroundRagConfigCreateInput!) {
createLlmApplicationPlaygroundRagConfig(input: $input) {
id
llmApplicationId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"input": LlmApplicationPlaygroundRagConfigCreateInput}
Response
{
"data": {
"createLlmApplicationPlaygroundRagConfig": {
"id": "4",
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
createLlmEvaluation
Description
Creates a new manual LLM evaluation.
Response
Returns a LlmEvaluation!
Arguments
Name | Description |
---|---|
input - LlmEvaluationInput!
|
Example
Query
mutation CreateLlmEvaluation($input: LlmEvaluationInput!) {
createLlmEvaluation(input: $input) {
id
name
teamId
projectId
kind
status
creationProgress {
status
jobId
error
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastScoredByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
totalPrompts
lastLlmEvaluationExecution {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"input": LlmEvaluationInput}
Response
{
"data": {
"createLlmEvaluation": {
"id": 4,
"name": "xyz789",
"teamId": "4",
"projectId": "4",
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": false,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": true,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "abc123",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 123,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
}
}
createLlmEvaluationAutomated
Description
Creates a new automated LLM evaluation.
Response
Returns a LlmEvaluation!
Arguments
Name | Description |
---|---|
input - LlmEvaluationAutomatedInput!
|
Example
Query
mutation CreateLlmEvaluationAutomated($input: LlmEvaluationAutomatedInput!) {
createLlmEvaluationAutomated(input: $input) {
id
name
teamId
projectId
kind
status
creationProgress {
status
jobId
error
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastScoredByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
totalPrompts
lastLlmEvaluationExecution {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"input": LlmEvaluationAutomatedInput}
Response
{
"data": {
"createLlmEvaluationAutomated": {
"id": "4",
"name": "xyz789",
"teamId": 4,
"projectId": 4,
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": false,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 123,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
}
}
createLlmVectorStore
Response
Returns a LlmVectorStore!
Arguments
Name | Description |
---|---|
input - CreateLlmVectorStoreInput!
|
Example
Query
mutation CreateLlmVectorStore($input: CreateLlmVectorStoreInput!) {
createLlmVectorStore(input: $input) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmEmbeddingModel {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
provider
collectionId
name
status
documents
documentStatusCount {
totalQueued
totalProcessing
totalDeleting
totalCompleted
totalProcessFailed
totalDeleteFailed
totalDocumentInvalid
totalDocuments
}
sourceDocuments {
source {
...LlmVectorStoreSourceFragment
}
documents
}
questions {
id
internalId
type
name
label
required
config {
...QuestionConfigFragment
}
bindToColumn
activationConditionLogic
targetEntity
}
jobId
chunkConfiguration
createdAt
updatedAt
dimension
}
}
Variables
{"input": CreateLlmVectorStoreInput}
Response
{
"data": {
"createLlmVectorStore": {
"id": 4,
"teamId": 4,
"createdByUser": User,
"llmEmbeddingModel": LlmEmbeddingModel,
"provider": "DATASAUR",
"collectionId": "abc123",
"name": "abc123",
"status": "CREATED",
"documents": [LlmVectorStoreDocumentScalar],
"documentStatusCount": LlmVectorStoreDocumentCountByStatus,
"sourceDocuments": [LlmVectorStoreSourceDocument],
"questions": [Question],
"jobId": "xyz789",
"chunkConfiguration": ChunkConfiguration,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"dimension": 987
}
}
}
createNewPassword
Response
Returns a String!
Arguments
Name | Description |
---|---|
input - CreateNewPasswordInput!
|
Example
Query
mutation CreateNewPassword($input: CreateNewPasswordInput!) {
createNewPassword(input: $input)
}
Variables
{"input": CreateNewPasswordInput}
Response
{"data": {"createNewPassword": "abc123"}}
createOnboardingLlmApplication
Response
Returns a LlmApplication!
Example
Query
mutation CreateOnboardingLlmApplication(
$teamId: ID!,
$llmModelIds: [ID!]
) {
createOnboardingLlmApplication(
teamId: $teamId,
llmModelIds: $llmModelIds
) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
totalRagConfigs
}
}
Variables
{"teamId": 4, "llmModelIds": ["4"]}
Response
{
"data": {
"createOnboardingLlmApplication": {
"id": 4,
"teamId": "4",
"createdByUser": User,
"name": "abc123",
"status": "DEPLOYED",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"llmApplicationDeployment": LlmApplicationDeployment,
"totalRagConfigs": 123
}
}
}
createPersonalTag
Response
Returns a Tag!
Arguments
Name | Description |
---|---|
input - CreatePersonalTagInput!
|
Example
Query
mutation CreatePersonalTag($input: CreatePersonalTagInput!) {
createPersonalTag(input: $input) {
id
name
globalTag
}
}
Variables
{"input": CreatePersonalTagInput}
Response
{
"data": {
"createPersonalTag": {
"id": "4",
"name": "xyz789",
"globalTag": true
}
}
}
createProject
Description
New mutation for creating a new project. Replaces launchTextProjectAsync
mutation.
See LaunchProjectInput
for input details.
Response is a job to poll via getJob
query.
Response
Returns a ProjectLaunchJob!
Arguments
Name | Description |
---|---|
input - LaunchProjectInput!
|
Example
Query
mutation CreateProject($input: LaunchProjectInput!) {
createProject(input: $input) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
}
}
Variables
{"input": LaunchProjectInput}
Response
{
"data": {
"createProject": {
"job": Job,
"name": "xyz789"
}
}
}
createProjectBBoxLabelSet
Response
Returns a BBoxLabelSet!
Arguments
Name | Description |
---|---|
input - CreateBBoxLabelSetInput!
|
|
projectId - ID!
|
Example
Query
mutation CreateProjectBBoxLabelSet(
$input: CreateBBoxLabelSetInput!,
$projectId: ID!
) {
createProjectBBoxLabelSet(
input: $input,
projectId: $projectId
) {
id
name
classes {
id
name
color
captionAllowed
captionRequired
questions {
...QuestionFragment
}
}
autoLabelProvider
}
}
Variables
{
"input": CreateBBoxLabelSetInput,
"projectId": "4"
}
Response
{
"data": {
"createProjectBBoxLabelSet": {
"id": "4",
"name": "xyz789",
"classes": [BBoxLabelClass],
"autoLabelProvider": "TESSERACT"
}
}
}
createProjectMetadataItem
Response
Returns a ProjectMetadataItem!
Arguments
Name | Description |
---|---|
input - CreateProjectMetadataItemInput!
|
Example
Query
mutation CreateProjectMetadataItem($input: CreateProjectMetadataItemInput!) {
createProjectMetadataItem(input: $input) {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
}
Variables
{"input": CreateProjectMetadataItemInput}
Response
{
"data": {
"createProjectMetadataItem": {
"id": 4,
"teamId": "4",
"creatorId": "4",
"key": "abc123",
"value": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
createProjectTemplate
Response
Returns a ProjectTemplate!
Arguments
Name | Description |
---|---|
input - CreateProjectTemplateInput!
|
Example
Query
mutation CreateProjectTemplate($input: CreateProjectTemplateInput!) {
createProjectTemplate(input: $input) {
id
name
teamId
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"input": CreateProjectTemplateInput}
Response
{
"data": {
"createProjectTemplate": {
"id": 4,
"name": "abc123",
"teamId": "4",
"team": Team,
"logoURL": "xyz789",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "xyz789",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": "4"
}
}
}
createQuestionSet
Response
Returns a QuestionSet!
Arguments
Name | Description |
---|---|
input - CreateQuestionSetInput!
|
Example
Query
mutation CreateQuestionSet($input: CreateQuestionSetInput!) {
createQuestionSet(input: $input) {
name
id
creator {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
index
questionSetId
label
type
hint
multipleAnswer
required
bindToColumn
activationConditionLogic
createdAt
updatedAt
options {
...DropdownConfigOptionsFragment
}
leafOptionsOnly
format
defaultValue
max
min
theme
gradientColors
step
hideScaleLabel
multiline
maxLength
minLength
pattern
customScript {
...CustomScriptFragment
}
nestedQuestions {
...QuestionSetItemFragment
}
parentId
}
createdAt
updatedAt
}
}
Variables
{"input": CreateQuestionSetInput}
Response
{
"data": {
"createQuestionSet": {
"name": "xyz789",
"id": "4",
"creator": User,
"items": [QuestionSetItem],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
createQuestionSetTemplate
Response
Returns a QuestionSetTemplate!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
input - QuestionSetTemplateInput
|
Example
Query
mutation CreateQuestionSetTemplate(
$teamId: ID!,
$input: QuestionSetTemplateInput
) {
createQuestionSetTemplate(
teamId: $teamId,
input: $input
) {
id
teamId
name
template
createdAt
updatedAt
}
}
Variables
{
"teamId": "4",
"input": QuestionSetTemplateInput
}
Response
{
"data": {
"createQuestionSetTemplate": {
"id": "4",
"teamId": 4,
"name": "xyz789",
"template": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
createScim
Example
Query
mutation CreateScim(
$teamId: ID!,
$samlTenantId: ID!
) {
createScim(
teamId: $teamId,
samlTenantId: $samlTenantId
) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
samlTenant {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
...TeamFragment
}
allowMembersToSetPassword
}
active
}
}
Variables
{"teamId": 4, "samlTenantId": 4}
Response
{
"data": {
"createScim": {
"id": "4",
"team": Team,
"samlTenant": SamlTenant,
"active": true
}
}
}
createSetupIntentPaymentMethod
createTag
Response
Returns a Tag!
Arguments
Name | Description |
---|---|
input - CreateTagInput!
|
Example
Query
mutation CreateTag($input: CreateTagInput!) {
createTag(input: $input) {
id
name
globalTag
}
}
Variables
{"input": CreateTagInput}
Response
{
"data": {
"createTag": {
"id": 4,
"name": "abc123",
"globalTag": false
}
}
}
createTagsIfNotExist
Response
Returns [Tag!]!
Arguments
Name | Description |
---|---|
input - CreateTagsIfNotExistInput!
|
Example
Query
mutation CreateTagsIfNotExist($input: CreateTagsIfNotExistInput!) {
createTagsIfNotExist(input: $input) {
id
name
globalTag
}
}
Variables
{"input": CreateTagsIfNotExistInput}
Response
{
"data": {
"createTagsIfNotExist": [
{
"id": "4",
"name": "abc123",
"globalTag": true
}
]
}
}
createTeam
Response
Returns a Team!
Arguments
Name | Description |
---|---|
input - CreateTeamInput!
|
Example
Query
mutation CreateTeam($input: CreateTeamInput!) {
createTeam(input: $input) {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Variables
{"input": CreateTeamInput}
Response
{
"data": {
"createTeam": {
"id": 4,
"logoURL": "abc123",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
createTeamApiKey
Response
Returns a TeamApiKey!
Arguments
Name | Description |
---|---|
input - TeamApiKeyInput!
|
Example
Query
mutation CreateTeamApiKey($input: TeamApiKeyInput!) {
createTeamApiKey(input: $input) {
id
teamId
name
key
lastUsedAt
createdAt
updatedAt
}
}
Variables
{"input": TeamApiKeyInput}
Response
{
"data": {
"createTeamApiKey": {
"id": "4",
"teamId": "4",
"name": "xyz789",
"key": "abc123",
"lastUsedAt": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
createTenant
Response
Returns a SamlTenant!
Arguments
Name | Description |
---|---|
input - CreateSamlTenantInput!
|
Example
Query
mutation CreateTenant($input: CreateSamlTenantInput!) {
createTenant(input: $input) {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
allowMembersToSetPassword
}
}
Variables
{"input": CreateSamlTenantInput}
Response
{
"data": {
"createTenant": {
"id": "4",
"active": true,
"companyId": "4",
"idpIssuer": "abc123",
"idpUrl": "xyz789",
"spIssuer": "abc123",
"team": Team,
"allowMembersToSetPassword": true
}
}
}
deleteBBoxLabels
Response
Returns [BBoxLabel!]!
Example
Query
mutation DeleteBBoxLabels(
$documentId: ID!,
$labelIds: [ID!]!
) {
deleteBBoxLabels(
documentId: $documentId,
labelIds: $labelIds
) {
id
documentId
bboxLabelClassId
deleted
caption
shapes {
pageIndex
points {
...BBoxPointFragment
}
}
answers
}
}
Variables
{
"documentId": "4",
"labelIds": ["4"]
}
Response
{
"data": {
"deleteBBoxLabels": [
{
"id": "4",
"documentId": 4,
"bboxLabelClassId": 4,
"deleted": true,
"caption": "abc123",
"shapes": [BBoxShape],
"answers": AnswerScalar
}
]
}
}
deleteBoundingBox
Response
Returns [BoundingBoxLabel!]!
Example
Query
mutation DeleteBoundingBox(
$documentId: ID!,
$boundingBoxLabelIds: [ID!]!
) {
deleteBoundingBox(
documentId: $documentId,
boundingBoxLabelIds: $boundingBoxLabelIds
) {
id
documentId
coordinates {
x
y
}
counter
pageIndex
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
hashCode
type
labeledBy
}
}
Variables
{
"documentId": "4",
"boundingBoxLabelIds": ["4"]
}
Response
{
"data": {
"deleteBoundingBox": [
{
"id": 4,
"documentId": 4,
"coordinates": [Coordinate],
"counter": 987,
"pageIndex": 987,
"layer": 123,
"position": TextRange,
"hashCode": "xyz789",
"type": "ARROW",
"labeledBy": "PRELABELED"
}
]
}
}
deleteChunk
Response
Returns a DeleteChunkResponse!
Arguments
Name | Description |
---|---|
input - DeleteChunkInput!
|
Example
Query
mutation DeleteChunk($input: DeleteChunkInput!) {
deleteChunk(input: $input) {
deletedChunk {
text
metadata
embedding
}
previousChunk {
text
metadata
embedding
}
nextChunk {
text
metadata
embedding
}
}
}
Variables
{"input": DeleteChunkInput}
Response
{
"data": {
"deleteChunk": {
"deletedChunk": DocumentChunk,
"previousChunk": DocumentChunk,
"nextChunk": DocumentChunk
}
}
}
deleteComment
deleteCreateProjectAction
Example
Query
mutation DeleteCreateProjectAction(
$teamId: ID!,
$actionId: ID!
) {
deleteCreateProjectAction(
teamId: $teamId,
actionId: $actionId
)
}
Variables
{"teamId": 4, "actionId": "4"}
Response
{"data": {"deleteCreateProjectAction": false}}
deleteCustomAPI
Response
Returns a CustomAPI!
Arguments
Name | Description |
---|---|
customAPIId - ID!
|
Example
Query
mutation DeleteCustomAPI($customAPIId: ID!) {
deleteCustomAPI(customAPIId: $customAPIId) {
id
teamId
endpointURL
name
purpose
}
}
Variables
{"customAPIId": "4"}
Response
{
"data": {
"deleteCustomAPI": {
"id": 4,
"teamId": 4,
"endpointURL": "xyz789",
"name": "xyz789",
"purpose": "ASR_API"
}
}
}
deleteDocumentAnswers
Response
Returns a Boolean!
Example
Query
mutation DeleteDocumentAnswers(
$documentId: ID!,
$questionSetSignature: String
) {
deleteDocumentAnswers(
documentId: $documentId,
questionSetSignature: $questionSetSignature
)
}
Variables
{
"documentId": "4",
"questionSetSignature": "xyz789"
}
Response
{"data": {"deleteDocumentAnswers": true}}
deleteExtensionElement
Response
Returns a ProjectExtension
Arguments
Name | Description |
---|---|
input - DeleteExtensionElementInput!
|
Example
Query
mutation DeleteExtensionElement($input: DeleteExtensionElementInput!) {
deleteExtensionElement(input: $input) {
id
cabinetId
elements {
id
enabled
extension {
...ExtensionFragment
}
height
order
setting {
...ExtensionElementSettingFragment
}
}
width
}
}
Variables
{"input": DeleteExtensionElementInput}
Response
{
"data": {
"deleteExtensionElement": {
"id": "4",
"cabinetId": 4,
"elements": [ExtensionElement],
"width": 987
}
}
}
deleteExternalObjectStorage
Response
Returns an ExternalObjectStorage!
Arguments
Name | Description |
---|---|
externalObjectStorageId - ID!
|
Example
Query
mutation DeleteExternalObjectStorage($externalObjectStorageId: ID!) {
deleteExternalObjectStorage(externalObjectStorageId: $externalObjectStorageId) {
id
cloudService
bucketId
bucketName
credentials {
roleArn
externalId
serviceAccount
tenantId
storageContainerUrl
region
tenantUsername
}
securityToken
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
projects {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
createdAt
updatedAt
}
}
Variables
{"externalObjectStorageId": 4}
Response
{
"data": {
"deleteExternalObjectStorage": {
"id": "4",
"cloudService": "AWS_S3",
"bucketId": "abc123",
"bucketName": "abc123",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "xyz789",
"team": Team,
"projects": [Project],
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
deleteGroundTruthSets
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
ids - [ID!]!
|
Example
Query
mutation DeleteGroundTruthSets($ids: [ID!]!) {
deleteGroundTruthSets(ids: $ids)
}
Variables
{"ids": ["4"]}
Response
{
"data": {
"deleteGroundTruthSets": ["xyz789"]
}
}
deleteGroundTruths
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
ids - [ID!]!
|
Example
Query
mutation DeleteGroundTruths($ids: [ID!]!) {
deleteGroundTruths(ids: $ids)
}
Variables
{"ids": [4]}
Response
{"data": {"deleteGroundTruths": ["abc123"]}}
deleteGuideline
deleteLabelErrorDetectionRowBasedSuggestionsByIds
Response
Arguments
Name | Description |
---|---|
input - DeleteLabelErrorDetectionRowBasedSuggestionByIdsInput!
|
Example
Query
mutation DeleteLabelErrorDetectionRowBasedSuggestionsByIds($input: DeleteLabelErrorDetectionRowBasedSuggestionByIdsInput!) {
deleteLabelErrorDetectionRowBasedSuggestionsByIds(input: $input) {
id
documentId
labelErrorDetectionId
line
errorPossibility
suggestedLabel
previousLabel
createdAt
updatedAt
}
}
Variables
{
"input": DeleteLabelErrorDetectionRowBasedSuggestionByIdsInput
}
Response
{
"data": {
"deleteLabelErrorDetectionRowBasedSuggestionsByIds": [
{
"id": 4,
"documentId": "4",
"labelErrorDetectionId": "4",
"line": 987,
"errorPossibility": 987.65,
"suggestedLabel": "abc123",
"previousLabel": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
deleteLabelSet
Description
Deletes a labelset. If the labelset is used in a project, any labelset item from the labelset that has been applied will be removed.
deleteLabelSetTemplates
Description
Deletes the specified labelset templates. Returns true if the templates are deleted successfully.
deleteLabelingFunctions
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - DeleteLabelingFunctionsInput!
|
Example
Query
mutation DeleteLabelingFunctions($input: DeleteLabelingFunctionsInput!) {
deleteLabelingFunctions(input: $input)
}
Variables
{"input": DeleteLabelingFunctionsInput}
Response
{"data": {"deleteLabelingFunctions": true}}
deleteLabelsOnTextDocument
Response
Returns a DeleteLabelsOnTextDocumentResult!
Arguments
Name | Description |
---|---|
input - DeleteLabelsOnTextDocumentInput!
|
Example
Query
mutation DeleteLabelsOnTextDocument($input: DeleteLabelsOnTextDocumentInput!) {
deleteLabelsOnTextDocument(input: $input) {
affectedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
deletedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
lastSavedAt
}
}
Variables
{"input": DeleteLabelsOnTextDocumentInput}
Response
{
"data": {
"deleteLabelsOnTextDocument": {
"affectedChunks": [TextChunk],
"deletedTokenLabels": [TextLabel],
"statistic": TextDocumentStatistic,
"lastSavedAt": "xyz789"
}
}
}
deleteLlmApplicationConfigurations
Response
Returns [LlmApplicationConfiguration!]!
Arguments
Name | Description |
---|---|
ids - [ID!]!
|
Example
Query
mutation DeleteLlmApplicationConfigurations($ids: [ID!]!) {
deleteLlmApplicationConfigurations(ids: $ids) {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmRagConfigId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"ids": [4]}
Response
{
"data": {
"deleteLlmApplicationConfigurations": [
{
"id": 4,
"name": "abc123",
"teamId": 4,
"createdByUserId": "4",
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": 4,
"llmRagConfig": LlmRagConfig,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": true
}
]
}
}
deleteLlmApplicationDeployment
deleteLlmApplicationDeployments
deleteLlmApplicationPlaygroundPrompt
deleteLlmApplicationPlaygroundPromptAttachments
Response
Returns a LlmApplicationPlaygroundPrompt!
Example
Query
mutation DeleteLlmApplicationPlaygroundPromptAttachments(
$id: ID!,
$llmApplicationPlaygroundPromptAttachmentIds: [ID!]!
) {
deleteLlmApplicationPlaygroundPromptAttachments(
id: $id,
llmApplicationPlaygroundPromptAttachmentIds: $llmApplicationPlaygroundPromptAttachmentIds
) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{
"id": "4",
"llmApplicationPlaygroundPromptAttachmentIds": [4]
}
Response
{
"data": {
"deleteLlmApplicationPlaygroundPromptAttachments": {
"id": "4",
"llmApplicationId": "4",
"name": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
}
}
deleteLlmApplicationPlaygroundRagConfig
deleteLlmApplications
deleteLlmEvaluationGeneratedAnswersByIds
Example
Query
mutation DeleteLlmEvaluationGeneratedAnswersByIds(
$llmEvaluationId: ID!,
$ids: [ID!]!
) {
deleteLlmEvaluationGeneratedAnswersByIds(
llmEvaluationId: $llmEvaluationId,
ids: $ids
)
}
Variables
{"llmEvaluationId": 4, "ids": [4]}
Response
{
"data": {
"deleteLlmEvaluationGeneratedAnswersByIds": [
"4"
]
}
}
deleteLlmEvaluations
Description
Deletes the LLM evaluations based on the provided ids.
Response
Returns [LlmEvaluation!]!
Arguments
Name | Description |
---|---|
ids - [ID!]!
|
Example
Query
mutation DeleteLlmEvaluations($ids: [ID!]!) {
deleteLlmEvaluations(ids: $ids) {
id
name
teamId
projectId
kind
status
creationProgress {
status
jobId
error
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastScoredByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
totalPrompts
lastLlmEvaluationExecution {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"ids": [4]}
Response
{
"data": {
"deleteLlmEvaluations": [
{
"id": "4",
"name": "xyz789",
"teamId": "4",
"projectId": "4",
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": true,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 987,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
]
}
}
deleteLlmModel
Example
Query
mutation DeleteLlmModel($id: ID!) {
deleteLlmModel(id: $id) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"deleteLlmModel": {
"id": 4,
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "xyz789",
"url": "xyz789",
"maxTemperature": 123.45,
"maxTopP": 123.45,
"maxTokens": 123,
"maxContextWindow": 987,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 987,
"minTemperature": 123.45,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"forceAnonymization": false,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
deleteLlmVectorStores
deleteProject
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - DeleteProjectInput!
|
Example
Query
mutation DeleteProject($input: DeleteProjectInput!) {
deleteProject(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": DeleteProjectInput}
Response
{
"data": {
"deleteProject": {
"id": "4",
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "abc123",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"isOwnerMe": false,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 123
}
}
}
deleteProjectMetadataItems
deleteProjectTemplates
deleteProjects
Response
Returns [Project!]!
Arguments
Name | Description |
---|---|
projectIds - [String!]!
|
Example
Query
mutation DeleteProjects($projectIds: [String!]!) {
deleteProjects(projectIds: $projectIds) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"projectIds": ["xyz789"]}
Response
{
"data": {
"deleteProjects": [
{
"id": 4,
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"isOwnerMe": false,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
]
}
}
deletePromptConversationHistory
deleteQuestionSet
deleteQuestionSets
deleteRowAnswers
Response
Returns a Boolean!
Example
Query
mutation DeleteRowAnswers(
$documentId: ID!,
$line: Int!,
$questionSetSignature: String
) {
deleteRowAnswers(
documentId: $documentId,
line: $line,
questionSetSignature: $questionSetSignature
)
}
Variables
{
"documentId": "4",
"line": 123,
"questionSetSignature": "xyz789"
}
Response
{"data": {"deleteRowAnswers": true}}
deleteSentence
Response
Returns a DeleteSentenceResult!
Example
Query
mutation DeleteSentence(
$documentId: String!,
$signature: String!,
$sentenceId: Int!
) {
deleteSentence(
documentId: $documentId,
signature: $signature,
sentenceId: $sentenceId
) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
updatedCell {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
addedLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
deletedLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
}
}
Variables
{
"documentId": "abc123",
"signature": "xyz789",
"sentenceId": 987
}
Response
{
"data": {
"deleteSentence": {
"document": TextDocument,
"updatedCell": Cell,
"addedLabels": [TextLabel],
"deletedLabels": [TextLabel]
}
}
}
deleteTeamApiKey
deleteTextDocument
Response
Returns a DeleteTextDocumentResult
Arguments
Name | Description |
---|---|
textDocumentId - String!
|
Example
Query
mutation DeleteTextDocument($textDocumentId: String!) {
deleteTextDocument(textDocumentId: $textDocumentId) {
id
}
}
Variables
{"textDocumentId": "abc123"}
Response
{"data": {"deleteTextDocument": {"id": 4}}}
deleteTimestampLabels
Response
Returns [TimestampLabel!]!
Example
Query
mutation DeleteTimestampLabels(
$documentId: ID!,
$labelIds: [ID!]!
) {
deleteTimestampLabels(
documentId: $documentId,
labelIds: $labelIds
) {
id
documentId
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
startTimestampMillis
endTimestampMillis
type
}
}
Variables
{
"documentId": "4",
"labelIds": ["4"]
}
Response
{
"data": {
"deleteTimestampLabels": [
{
"id": 4,
"documentId": "4",
"layer": 123,
"position": TextRange,
"startTimestampMillis": 123,
"endTimestampMillis": 123,
"type": "ARROW"
}
]
}
}
deployLlmEmbeddingModel
Response
Returns a LlmEmbeddingModel!
Arguments
Name | Description |
---|---|
input - LlmModelDeployInput!
|
Example
Query
mutation DeployLlmEmbeddingModel($input: LlmModelDeployInput!) {
deployLlmEmbeddingModel(input: $input) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{"input": LlmModelDeployInput}
Response
{
"data": {
"deployLlmEmbeddingModel": {
"id": 4,
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "xyz789",
"url": "abc123",
"maxTokens": 987,
"dimensions": 987,
"deployableModelId": "abc123",
"isModelDeployable": true,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"variant": "META",
"customDimension": false
}
}
}
deployLlmModel
Response
Returns a LlmModel!
Example
Query
mutation DeployLlmModel(
$id: ID!,
$teamId: ID!,
$instanceType: String,
$automatedUndeployHours: Int
) {
deployLlmModel(
id: $id,
teamId: $teamId,
instanceType: $instanceType,
automatedUndeployHours: $automatedUndeployHours
) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{
"id": "4",
"teamId": "4",
"instanceType": "abc123",
"automatedUndeployHours": 123
}
Response
{
"data": {
"deployLlmModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "xyz789",
"url": "abc123",
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 123.45,
"defaultTopP": 987.65,
"defaultMaxTokens": 987,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
disableUserTotpAuthentication
Description
Requires either totpCode or recoveryCode.
Response
Returns a Boolean
Arguments
Name | Description |
---|---|
totpCode - TotpCodeInput!
|
Example
Query
mutation DisableUserTotpAuthentication($totpCode: TotpCodeInput!) {
disableUserTotpAuthentication(totpCode: $totpCode)
}
Variables
{"totpCode": TotpCodeInput}
Response
{"data": {"disableUserTotpAuthentication": false}}
disconnectTeamExternalApiKey
Response
Returns a TeamExternalApiKey!
Arguments
Name | Description |
---|---|
input - TeamExternalApiKeyDisconnectInput!
|
Example
Query
mutation DisconnectTeamExternalApiKey($input: TeamExternalApiKeyDisconnectInput!) {
disconnectTeamExternalApiKey(input: $input) {
id
teamId
credentials {
provider
isConnected
openAIKey
azureOpenAIKey
azureOpenAIEndpoint
azureAIClientId
azureAICertificate
azureAITenantId
azureAISubscriptionId
azureAIResourceGroupName
azureAIAccountName
awsSagemakerRegion
awsSagemakerExternalId
awsSagemakerRoleArn
awsBedrockRegion
awsBedrockExternalId
awsBedrockRoleArn
vertexAiClientEmail
vertexAiPrivateKey
vertexAiProjectId
vertexAiRegion
}
createdAt
updatedAt
}
}
Variables
{"input": TeamExternalApiKeyDisconnectInput}
Response
{
"data": {
"disconnectTeamExternalApiKey": {
"id": "4",
"teamId": "4",
"credentials": [TeamExternalApiKeyCredential],
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
duplicateLlmApplicationPlaygroundPrompt
Response
Returns a LlmApplicationPlaygroundPrompt!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation DuplicateLlmApplicationPlaygroundPrompt($id: ID!) {
duplicateLlmApplicationPlaygroundPrompt(id: $id) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{"id": 4}
Response
{
"data": {
"duplicateLlmApplicationPlaygroundPrompt": {
"id": "4",
"llmApplicationId": "4",
"name": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
}
}
duplicateLlmApplicationPlaygroundRagConfig
Response
Returns a LlmApplicationPlaygroundRagConfig!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation DuplicateLlmApplicationPlaygroundRagConfig($id: ID!) {
duplicateLlmApplicationPlaygroundRagConfig(id: $id) {
id
llmApplicationId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"duplicateLlmApplicationPlaygroundRagConfig": {
"id": 4,
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
editComment
Example
Query
mutation EditComment(
$commentId: ID!,
$message: String!
) {
editComment(
commentId: $commentId,
message: $message
) {
id
parentId
documentId
originDocumentId
userId
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
message
resolved
resolvedAt
resolvedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
repliesCount
createdAt
updatedAt
lastEditedAt
hashCode
commentedContent {
hashCodeType
contexts {
...CommentedContentContextValueFragment
}
currentValue {
...CommentedContentCurrentValueFragment
}
}
}
}
Variables
{"commentId": 4, "message": "xyz789"}
Response
{
"data": {
"editComment": {
"id": 4,
"parentId": "4",
"documentId": 4,
"originDocumentId": 4,
"userId": 123,
"user": User,
"message": "abc123",
"resolved": true,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "abc123",
"updatedAt": "abc123",
"lastEditedAt": "abc123",
"hashCode": "xyz789",
"commentedContent": CommentedContent
}
}
}
editCustomModel
Response
Returns a LlmModel!
Arguments
Name | Description |
---|---|
input - EditLlmCustomModelInput!
|
Example
Query
mutation EditCustomModel($input: EditLlmCustomModelInput!) {
editCustomModel(input: $input) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"input": EditLlmCustomModelInput}
Response
{
"data": {
"editCustomModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "abc123",
"url": "xyz789",
"maxTemperature": 123.45,
"maxTopP": 123.45,
"maxTokens": 987,
"maxContextWindow": 123,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"forceAnonymization": false,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
editSentence
Response
Returns an EditSentenceResult!
Arguments
Name | Description |
---|---|
input - EditSentenceInput!
|
Example
Query
mutation EditSentence($input: EditSentenceInput!) {
editSentence(input: $input) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
updatedCell {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
addedLabels {
id
documentId
labeledBy
type
hashCode
labeledByUserId
acceptedByUserId
rejectedByUserId
}
deletedLabels {
id
documentId
labeledBy
type
hashCode
labeledByUserId
acceptedByUserId
rejectedByUserId
}
previousSentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
addedBoundingBoxLabels {
id
documentId
coordinates {
...CoordinateFragment
}
counter
pageIndex
layer
position {
...TextRangeFragment
}
hashCode
type
labeledBy
}
deletedBoundingBoxLabels {
id
documentId
coordinates {
...CoordinateFragment
}
counter
pageIndex
layer
position {
...TextRangeFragment
}
hashCode
type
labeledBy
}
}
}
Variables
{"input": EditSentenceInput}
Response
{
"data": {
"editSentence": {
"document": TextDocument,
"updatedCell": Cell,
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable],
"previousSentences": [TextSentence],
"addedBoundingBoxLabels": [BoundingBoxLabel],
"deletedBoundingBoxLabels": [BoundingBoxLabel]
}
}
}
enableProjectExtensionElements
Response
Returns a ProjectExtension
Arguments
Name | Description |
---|---|
input - EnableProjectExtensionElementsInput!
|
Example
Query
mutation EnableProjectExtensionElements($input: EnableProjectExtensionElementsInput!) {
enableProjectExtensionElements(input: $input) {
id
cabinetId
elements {
id
enabled
extension {
...ExtensionFragment
}
height
order
setting {
...ExtensionElementSettingFragment
}
}
width
}
}
Variables
{"input": EnableProjectExtensionElementsInput}
Response
{
"data": {
"enableProjectExtensionElements": {
"id": "4",
"cabinetId": "4",
"elements": [ExtensionElement],
"width": 123
}
}
}
enableUserTotpAuthentication
Response
Returns a TotpRecoveryCodes!
Example
Query
mutation EnableUserTotpAuthentication(
$totpCode: String!,
$totpSecret: String!
) {
enableUserTotpAuthentication(
totpCode: $totpCode,
totpSecret: $totpSecret
) {
recoveryCodes
}
}
Variables
{
"totpCode": "abc123",
"totpSecret": "abc123"
}
Response
{
"data": {
"enableUserTotpAuthentication": {
"recoveryCodes": ["abc123"]
}
}
}
enforceReviewerAutoLabelSettings
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - EnforceReviewerAutoLabelSettingsInput!
|
Example
Query
mutation EnforceReviewerAutoLabelSettings($input: EnforceReviewerAutoLabelSettingsInput!) {
enforceReviewerAutoLabelSettings(input: $input)
}
Variables
{"input": EnforceReviewerAutoLabelSettingsInput}
Response
{"data": {"enforceReviewerAutoLabelSettings": true}}
executeLlmEvaluationAutomated
Description
Executes an automated LLM evaluation.
Response
Returns a LlmEvaluationExecution!
Example
Query
mutation ExecuteLlmEvaluationAutomated(
$teamId: ID!,
$llmEvaluationId: ID!,
$llmExecutionId: ID
) {
executeLlmEvaluationAutomated(
teamId: $teamId,
llmEvaluationId: $llmEvaluationId,
llmExecutionId: $llmExecutionId
) {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
Variables
{
"teamId": 4,
"llmEvaluationId": "4",
"llmExecutionId": 4
}
Response
{
"data": {
"executeLlmEvaluationAutomated": {
"id": 4,
"llmEvaluationId": "4",
"status": "PREPARING",
"errorMessage": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false
}
}
}
finishTeamOnboarding
Response
Returns a TeamOnboarding!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
mutation FinishTeamOnboarding($teamId: ID!) {
finishTeamOnboarding(teamId: $teamId) {
id
teamId
state
version
tasks {
id
name
reward
completedAt
}
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"finishTeamOnboarding": {
"id": "4",
"teamId": 4,
"state": "NOT_OPENED",
"version": 123,
"tasks": [TeamOnboardingTask]
}
}
}
generateTotpAuthQRCode
Response
Returns a TotpAuthSecret!
Example
Query
mutation GenerateTotpAuthQRCode {
generateTotpAuthQRCode {
secret
otpAuthUrl
qrCode
}
}
Response
{
"data": {
"generateTotpAuthQRCode": {
"secret": "xyz789",
"otpAuthUrl": "xyz789",
"qrCode": "abc123"
}
}
}
getOrCreateLabelErrorDetectionRowBased
Response
Returns a LabelErrorDetectionRowBased!
Arguments
Name | Description |
---|---|
input - GetOrCreateLabelErrorDetectionRowBasedInput!
|
Example
Query
mutation GetOrCreateLabelErrorDetectionRowBased($input: GetOrCreateLabelErrorDetectionRowBasedInput!) {
getOrCreateLabelErrorDetectionRowBased(input: $input) {
id
cabinetId
inputColumnIds
questionColumnId
jobId
createdAt
updatedAt
}
}
Variables
{"input": GetOrCreateLabelErrorDetectionRowBasedInput}
Response
{
"data": {
"getOrCreateLabelErrorDetectionRowBased": {
"id": "4",
"cabinetId": 4,
"inputColumnIds": [987],
"questionColumnId": 987,
"jobId": 4,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
importTextDocument
Response
Returns a TextDocument!
Arguments
Name | Description |
---|---|
input - ImportTextDocumentInput!
|
Example
Query
mutation ImportTextDocument($input: ImportTextDocumentInput!) {
importTextDocument(input: $input) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"input": ImportTextDocumentInput}
Response
{
"data": {
"importTextDocument": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"isCompleted": false,
"completedByUserId": 4,
"lastSavedAt": "xyz789",
"mimeType": "xyz789",
"name": "abc123",
"projectId": "4",
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4,
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": "4",
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "xyz789",
"version": 123,
"workspaceState": WorkspaceState,
"originId": "4",
"signature": "abc123",
"part": 123
}
}
}
insertMultiRowAnswers
Description
Appends the answers at the specified lines
Response
Returns an InsertMultiRowAnswersResult!
Arguments
Name | Description |
---|---|
input - UpdateMultiRowAnswersInput!
|
|
questionSetSignature - String
|
Example
Query
mutation InsertMultiRowAnswers(
$input: UpdateMultiRowAnswersInput!,
$questionSetSignature: String
) {
insertMultiRowAnswers(
input: $input,
questionSetSignature: $questionSetSignature
) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
previousAnswers {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
updatedAnswers {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
}
}
Variables
{
"input": UpdateMultiRowAnswersInput,
"questionSetSignature": "xyz789"
}
Response
{
"data": {
"insertMultiRowAnswers": {
"document": TextDocument,
"previousAnswers": [RowAnswer],
"updatedAnswers": [RowAnswer]
}
}
}
insertRow
Response
Returns an InsertRowResult!
Arguments
Name | Description |
---|---|
documentId - String!
|
|
signature - String!
|
|
rowCells - [RowCellInput!]!
|
|
insertTarget - InsertTargetInput!
|
|
tokenizationMethod - TokenizationMethod
|
Example
Query
mutation InsertRow(
$documentId: String!,
$signature: String!,
$rowCells: [RowCellInput!]!,
$insertTarget: InsertTargetInput!,
$tokenizationMethod: TokenizationMethod
) {
insertRow(
documentId: $documentId,
signature: $signature,
rowCells: $rowCells,
insertTarget: $insertTarget,
tokenizationMethod: $tokenizationMethod
) {
line
cells {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
}
}
Variables
{
"documentId": "abc123",
"signature": "abc123",
"rowCells": [RowCellInput],
"insertTarget": InsertTargetInput,
"tokenizationMethod": "WINK"
}
Response
{"data": {"insertRow": {"line": 123, "cells": [Cell]}}}
insertSentence
Response
Returns a Cell!
Arguments
Name | Description |
---|---|
documentId - String!
|
|
signature - String!
|
|
insertTarget - InsertTargetInput!
|
|
content - String!
|
|
tokenizationMethod - TokenizationMethod
|
|
metadata - [CellMetadataInput!]
|
Deprecated. The value provided will be ignored. |
Example
Query
mutation InsertSentence(
$documentId: String!,
$signature: String!,
$insertTarget: InsertTargetInput!,
$content: String!,
$tokenizationMethod: TokenizationMethod,
$metadata: [CellMetadataInput!]
) {
insertSentence(
documentId: $documentId,
signature: $signature,
insertTarget: $insertTarget,
content: $content,
tokenizationMethod: $tokenizationMethod,
metadata: $metadata
) {
line
index
content
tokens
metadata {
key
value
type
pinned
config {
...TextMetadataConfigFragment
}
}
conversationalMetadata {
speaker
indent
alignment
color
}
status
conflict
conflicts {
documentId
labelerId
labelerTeamMemberId
cell {
...CellFragment
}
labels {
...TextLabelFragment
}
}
originCell {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
}
}
Variables
{
"documentId": "abc123",
"signature": "abc123",
"insertTarget": InsertTargetInput,
"content": "abc123",
"tokenizationMethod": "WINK",
"metadata": [CellMetadataInput]
}
Response
{
"data": {
"insertSentence": {
"line": 987,
"index": 123,
"content": "abc123",
"tokens": ["xyz789"],
"metadata": [CellMetadata],
"conversationalMetadata": ConversationalMetadata,
"status": "DISPLAYED",
"conflict": false,
"conflicts": [CellConflict],
"originCell": Cell
}
}
}
inviteTeamMembers
Response
Returns [TeamMember!]!
Arguments
Name | Description |
---|---|
input - InviteTeamMembersInput!
|
|
datasaurApp - DatasaurApp
|
Example
Query
mutation InviteTeamMembers(
$input: InviteTeamMembersInput!,
$datasaurApp: DatasaurApp
) {
inviteTeamMembers(
input: $input,
datasaurApp: $datasaurApp
) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"input": InviteTeamMembersInput, "datasaurApp": "NLP"}
Response
{
"data": {
"inviteTeamMembers": [
{
"id": 4,
"user": User,
"role": TeamRole,
"invitationEmail": "abc123",
"invitationStatus": "xyz789",
"invitationKey": "abc123",
"isDeleted": true,
"joinedDate": "abc123",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": 4
}
]
}
}
launchTextProject
createProject
Description
Superseded by createProject.
For more information regarding migrating to the new mutation, please see here
Mutation will be removed after June 30th, 2024
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - LaunchTextProjectInput!
|
Example
Query
mutation LaunchTextProject($input: LaunchTextProjectInput!) {
launchTextProject(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": LaunchTextProjectInput}
Response
{
"data": {
"launchTextProject": {
"id": 4,
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "abc123",
"isOwnerMe": false,
"isReviewByMeAllowed": true,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
launchTextProjectAsync
createProject
Description
Create a new project based on the specified configuration. The response is a job, not the actual project since it's an asynchronous request. See the more detailed explanation here.
Superseded by createProject.
For more information regarding migrating to the new mutation, please see here
Support and bug-fixes will continue to be provided for this mutation until March 31st, 2024.
Mutation will be removed after June 30th, 2024
Response
Returns a ProjectLaunchJob!
Arguments
Name | Description |
---|---|
input - LaunchTextProjectInput!
|
Example
Query
mutation LaunchTextProjectAsync($input: LaunchTextProjectInput!) {
launchTextProjectAsync(input: $input) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
}
}
Variables
{"input": LaunchTextProjectInput}
Response
{
"data": {
"launchTextProjectAsync": {
"job": Job,
"name": "xyz789"
}
}
}
loadLlmApplicationConfigurationToPlayground
Response
Returns a LlmApplicationConfiguration!
Arguments
Name | Description |
---|---|
input - LoadLlmApplicationConfigurationInput!
|
Example
Query
mutation LoadLlmApplicationConfigurationToPlayground($input: LoadLlmApplicationConfigurationInput!) {
loadLlmApplicationConfigurationToPlayground(input: $input) {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmRagConfigId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"input": LoadLlmApplicationConfigurationInput}
Response
{
"data": {
"loadLlmApplicationConfigurationToPlayground": {
"id": 4,
"name": "xyz789",
"teamId": 4,
"createdByUserId": "4",
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": "4",
"llmRagConfig": LlmRagConfig,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"isDeleted": true
}
}
}
login
Response
Returns a LoginResult!
Arguments
Name | Description |
---|---|
loginInput - LoginInput!
|
|
datasaurApp - DatasaurApp
|
Example
Query
mutation Login(
$loginInput: LoginInput!,
$datasaurApp: DatasaurApp
) {
login(
loginInput: $loginInput,
datasaurApp: $datasaurApp
) {
type
successData {
user {
...UserFragment
}
redirect
}
}
}
Variables
{"loginInput": LoginInput, "datasaurApp": "NLP"}
Response
{
"data": {
"login": {
"type": "SUCCESS",
"successData": LoginSuccess
}
}
}
logout
Response
Returns a String
Example
Query
mutation Logout {
logout
}
Response
{"data": {"logout": "xyz789"}}
markAllDocumentsAsComplete
Response
Returns [TextDocument!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
Example
Query
mutation MarkAllDocumentsAsComplete($cabinetId: ID!) {
markAllDocumentsAsComplete(cabinetId: $cabinetId) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"cabinetId": "4"}
Response
{
"data": {
"markAllDocumentsAsComplete": [
{
"id": 4,
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"isCompleted": true,
"completedByUserId": 4,
"lastSavedAt": "abc123",
"mimeType": "abc123",
"name": "abc123",
"projectId": "4",
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": "4",
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": "4",
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "xyz789",
"version": 123,
"workspaceState": WorkspaceState,
"originId": "4",
"signature": "xyz789",
"part": 987
}
]
}
}
markAllUnusedLabelClasses
Description
Mark all unused label classes in a document
markDocumentAsComplete
Response
Returns a TextDocument!
Example
Query
mutation MarkDocumentAsComplete(
$documentId: ID!,
$skipValidation: Boolean
) {
markDocumentAsComplete(
documentId: $documentId,
skipValidation: $skipValidation
) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"documentId": 4, "skipValidation": false}
Response
{
"data": {
"markDocumentAsComplete": {
"id": "4",
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"isCompleted": false,
"completedByUserId": "4",
"lastSavedAt": "xyz789",
"mimeType": "abc123",
"name": "abc123",
"projectId": "4",
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4,
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": 4,
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "xyz789",
"version": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 987
}
}
}
markDocumentAsInProgress
Response
Returns a TextDocument!
Example
Query
mutation MarkDocumentAsInProgress(
$documentId: ID!,
$skipValidation: Boolean
) {
markDocumentAsInProgress(
documentId: $documentId,
skipValidation: $skipValidation
) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"documentId": 4, "skipValidation": false}
Response
{
"data": {
"markDocumentAsInProgress": {
"id": "4",
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": false,
"completedByUserId": 4,
"lastSavedAt": "abc123",
"mimeType": "abc123",
"name": "abc123",
"projectId": 4,
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": "4",
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": "4",
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "abc123",
"version": 987,
"workspaceState": WorkspaceState,
"originId": "4",
"signature": "xyz789",
"part": 987
}
}
}
markRemovePaymentMethod
markUnusedLabelClass
Description
Mark a label class as N/A
Response
Returns an UnusedLabelClass!
Arguments
Name | Description |
---|---|
input - MarkUnusedLabelClassInput!
|
Example
Query
mutation MarkUnusedLabelClass($input: MarkUnusedLabelClassInput!) {
markUnusedLabelClass(input: $input) {
documentId
labelSetId
labelClassId
isMarked
}
}
Variables
{"input": MarkUnusedLabelClassInput}
Response
{
"data": {
"markUnusedLabelClass": {
"documentId": 4,
"labelSetId": "4",
"labelClassId": "abc123",
"isMarked": true
}
}
}
migrateUserDataToHubspot
Response
Returns a Boolean
Arguments
Name | Description |
---|---|
userIds - [String!]!
|
Example
Query
mutation MigrateUserDataToHubspot($userIds: [String!]!) {
migrateUserDataToHubspot(userIds: $userIds)
}
Variables
{"userIds": ["abc123"]}
Response
{"data": {"migrateUserDataToHubspot": true}}
modifyDocumentQuestions
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - [ModifyQuestionInput!]!
|
|
signature - String
|
Example
Query
mutation ModifyDocumentQuestions(
$projectId: ID!,
$input: [ModifyQuestionInput!]!,
$signature: String
) {
modifyDocumentQuestions(
projectId: $projectId,
input: $input,
signature: $signature
) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{
"projectId": 4,
"input": [ModifyQuestionInput],
"signature": "xyz789"
}
Response
{
"data": {
"modifyDocumentQuestions": [
{
"id": 123,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "xyz789",
"required": true,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "xyz789",
"targetEntity": "xyz789"
}
]
}
}
modifyRowQuestions
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - [ModifyQuestionInput!]!
|
|
signature - String
|
Example
Query
mutation ModifyRowQuestions(
$projectId: ID!,
$input: [ModifyQuestionInput!]!,
$signature: String
) {
modifyRowQuestions(
projectId: $projectId,
input: $input,
signature: $signature
) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{
"projectId": "4",
"input": [ModifyQuestionInput],
"signature": "abc123"
}
Response
{
"data": {
"modifyRowQuestions": [
{
"id": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": true,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
]
}
}
overrideSentences
Response
Returns an UpdateSentenceResult!
Arguments
Name | Description |
---|---|
input - OverrideSentencesInput!
|
Example
Query
mutation OverrideSentences($input: OverrideSentencesInput!) {
overrideSentences(input: $input) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
updatedSentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
previousTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
addedLabels {
id
documentId
labeledBy
type
hashCode
labeledByUserId
acceptedByUserId
rejectedByUserId
}
deletedLabels {
id
documentId
labeledBy
type
hashCode
labeledByUserId
acceptedByUserId
rejectedByUserId
}
updatedCells {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
addedBoundingBoxLabels {
id
documentId
coordinates {
...CoordinateFragment
}
counter
pageIndex
layer
position {
...TextRangeFragment
}
hashCode
type
labeledBy
}
deletedBoundingBoxLabels {
id
documentId
coordinates {
...CoordinateFragment
}
counter
pageIndex
layer
position {
...TextRangeFragment
}
hashCode
type
labeledBy
}
}
}
Variables
{"input": OverrideSentencesInput}
Response
{
"data": {
"overrideSentences": {
"document": TextDocument,
"updatedSentences": [TextSentence],
"updatedTokenLabels": [TextLabel],
"previousTokenLabels": [TextLabel],
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable],
"updatedCells": [Cell],
"addedBoundingBoxLabels": [BoundingBoxLabel],
"deletedBoundingBoxLabels": [BoundingBoxLabel]
}
}
}
recalculateBBoxLabelsShapesHash
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - RecalculateBBoxLabelsShapesHashInput!
|
Example
Query
mutation RecalculateBBoxLabelsShapesHash($input: RecalculateBBoxLabelsShapesHashInput!) {
recalculateBBoxLabelsShapesHash(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": RecalculateBBoxLabelsShapesHashInput}
Response
{
"data": {
"recalculateBBoxLabelsShapesHash": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
}
}
redactCells
Description
Redact Cells' content and tokens. The content and tokens will be replaced by asterisks (*).
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - RedactCellsInput!
|
Example
Query
mutation RedactCells(
$projectId: ID!,
$input: RedactCellsInput!
) {
redactCells(
projectId: $projectId,
input: $input
)
}
Variables
{
"projectId": "4",
"input": RedactCellsInput
}
Response
{"data": {"redactCells": false}}
redactTextDocuments
Description
Redact data related to Text Document:
- Cells
- File that is stored in Datasaur's file storage
Example
Query
mutation RedactTextDocuments(
$projectId: ID!,
$originDocumentIds: [ID!]!
) {
redactTextDocuments(
projectId: $projectId,
originDocumentIds: $originDocumentIds
)
}
Variables
{"projectId": 4, "originDocumentIds": ["4"]}
Response
{"data": {"redactTextDocuments": true}}
redeployLlmEmbeddingModel
Response
Returns a LlmEmbeddingModel!
Example
Query
mutation RedeployLlmEmbeddingModel(
$id: ID!,
$instanceType: String!
) {
redeployLlmEmbeddingModel(
id: $id,
instanceType: $instanceType
) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{
"id": "4",
"instanceType": "abc123"
}
Response
{
"data": {
"redeployLlmEmbeddingModel": {
"id": "4",
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "abc123",
"url": "xyz789",
"maxTokens": 123,
"dimensions": 987,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"variant": "META",
"customDimension": false
}
}
}
regenerateUserTotpRecoveryCodes
Response
Returns a TotpRecoveryCodes!
Arguments
Name | Description |
---|---|
totpCode - TotpCodeInput!
|
Example
Query
mutation RegenerateUserTotpRecoveryCodes($totpCode: TotpCodeInput!) {
regenerateUserTotpRecoveryCodes(totpCode: $totpCode) {
recoveryCodes
}
}
Variables
{"totpCode": TotpCodeInput}
Response
{
"data": {
"regenerateUserTotpRecoveryCodes": {
"recoveryCodes": ["abc123"]
}
}
}
rejectBoundingBoxConflict
Response
Returns [BoundingBoxLabel!]!
Example
Query
mutation RejectBoundingBoxConflict(
$documentId: ID!,
$boundingBoxLabelIds: [ID!]!
) {
rejectBoundingBoxConflict(
documentId: $documentId,
boundingBoxLabelIds: $boundingBoxLabelIds
) {
id
documentId
coordinates {
x
y
}
counter
pageIndex
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
hashCode
type
labeledBy
}
}
Variables
{
"documentId": "4",
"boundingBoxLabelIds": [4]
}
Response
{
"data": {
"rejectBoundingBoxConflict": [
{
"id": 4,
"documentId": "4",
"coordinates": [Coordinate],
"counter": 123,
"pageIndex": 123,
"layer": 123,
"position": TextRange,
"hashCode": "abc123",
"type": "ARROW",
"labeledBy": "PRELABELED"
}
]
}
}
rejectTimestampLabelConflicts
Response
Returns [TimestampLabel!]!
Example
Query
mutation RejectTimestampLabelConflicts(
$documentId: ID!,
$labelIds: [ID!]!
) {
rejectTimestampLabelConflicts(
documentId: $documentId,
labelIds: $labelIds
) {
id
documentId
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
startTimestampMillis
endTimestampMillis
type
}
}
Variables
{"documentId": 4, "labelIds": ["4"]}
Response
{
"data": {
"rejectTimestampLabelConflicts": [
{
"id": 4,
"documentId": "4",
"layer": 987,
"position": TextRange,
"startTimestampMillis": 987,
"endTimestampMillis": 987,
"type": "ARROW"
}
]
}
}
removeFileTransformer
Response
Returns a FileTransformer!
Arguments
Name | Description |
---|---|
fileTransformerId - ID!
|
Example
Query
mutation RemoveFileTransformer($fileTransformerId: ID!) {
removeFileTransformer(fileTransformerId: $fileTransformerId) {
id
name
content
transpiled
createdAt
updatedAt
language
purpose
readonly
externalId
warmup
}
}
Variables
{"fileTransformerId": "4"}
Response
{
"data": {
"removeFileTransformer": {
"id": 4,
"name": "xyz789",
"content": "abc123",
"transpiled": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": true,
"externalId": "abc123",
"warmup": true
}
}
}
removePersonalTags
Response
Returns [RemoveTagsResult!]!
Arguments
Name | Description |
---|---|
input - RemovePersonalTagsInput!
|
Example
Query
mutation RemovePersonalTags($input: RemovePersonalTagsInput!) {
removePersonalTags(input: $input) {
tagId
}
}
Variables
{"input": RemovePersonalTagsInput}
Response
{
"data": {
"removePersonalTags": [{"tagId": "4"}]
}
}
removeProjectMetadata
Description
Removes specified metadata from a project. If the specified metadata doesn't exist, mutation will throw an error.
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - ProjectMetadataInput!
|
Example
Query
mutation RemoveProjectMetadata($input: ProjectMetadataInput!) {
removeProjectMetadata(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": ProjectMetadataInput}
Response
{
"data": {
"removeProjectMetadata": {
"id": "4",
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"isOwnerMe": true,
"isReviewByMeAllowed": true,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
removeQuestionSetTemplate
removeSearchKeyword
Response
Returns a SearchHistoryKeyword!
Arguments
Name | Description |
---|---|
keyword - String!
|
Example
Query
mutation RemoveSearchKeyword($keyword: String!) {
removeSearchKeyword(keyword: $keyword) {
id
keyword
}
}
Variables
{"keyword": "xyz789"}
Response
{
"data": {
"removeSearchKeyword": {
"id": "4",
"keyword": "xyz789"
}
}
}
removeTags
Response
Returns [RemoveTagsResult!]!
Arguments
Name | Description |
---|---|
input - RemoveTagsInput!
|
Example
Query
mutation RemoveTags($input: RemoveTagsInput!) {
removeTags(input: $input) {
tagId
}
}
Variables
{"input": RemoveTagsInput}
Response
{"data": {"removeTags": [{"tagId": "4"}]}}
removeTeamMember
Response
Returns a TeamMember
Arguments
Name | Description |
---|---|
input - RemoveTeamMemberInput!
|
Example
Query
mutation RemoveTeamMember($input: RemoveTeamMemberInput!) {
removeTeamMember(input: $input) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"input": RemoveTeamMemberInput}
Response
{
"data": {
"removeTeamMember": {
"id": "4",
"user": User,
"role": TeamRole,
"invitationEmail": "abc123",
"invitationStatus": "xyz789",
"invitationKey": "abc123",
"isDeleted": false,
"joinedDate": "xyz789",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": "4"
}
}
}
removeTeamMembers
Response
Returns [TeamMember]
Arguments
Name | Description |
---|---|
input - RemoveTeamMembersInput!
|
Example
Query
mutation RemoveTeamMembers($input: RemoveTeamMembersInput!) {
removeTeamMembers(input: $input) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"input": RemoveTeamMembersInput}
Response
{
"data": {
"removeTeamMembers": [
{
"id": "4",
"user": User,
"role": TeamRole,
"invitationEmail": "xyz789",
"invitationStatus": "xyz789",
"invitationKey": "xyz789",
"isDeleted": true,
"joinedDate": "xyz789",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": 4
}
]
}
}
replaceProjectAssignees
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - AssignProjectInput!
|
Example
Query
mutation ReplaceProjectAssignees($input: AssignProjectInput!) {
replaceProjectAssignees(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": AssignProjectInput}
Response
{
"data": {
"replaceProjectAssignees": {
"id": "4",
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "abc123",
"updatedDate": "xyz789",
"isOwnerMe": true,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 123
}
}
}
replaceProjectMetadata
Description
Replaces metadata in a project.
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - ProjectMetadataInput!
|
Example
Query
mutation ReplaceProjectMetadata($input: ProjectMetadataInput!) {
replaceProjectMetadata(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": ProjectMetadataInput}
Response
{
"data": {
"replaceProjectMetadata": {
"id": "4",
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "abc123",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"isOwnerMe": false,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
replicateTeamProject
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - ReplicateTeamProjectInput!
|
Example
Query
mutation ReplicateTeamProject($input: ReplicateTeamProjectInput!) {
replicateTeamProject(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": ReplicateTeamProjectInput}
Response
{
"data": {
"replicateTeamProject": {
"id": 4,
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "abc123",
"updatedDate": "xyz789",
"isOwnerMe": false,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
replyComment
Example
Query
mutation ReplyComment(
$commentId: ID!,
$message: String!
) {
replyComment(
commentId: $commentId,
message: $message
) {
id
parentId
documentId
originDocumentId
userId
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
message
resolved
resolvedAt
resolvedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
repliesCount
createdAt
updatedAt
lastEditedAt
hashCode
commentedContent {
hashCodeType
contexts {
...CommentedContentContextValueFragment
}
currentValue {
...CommentedContentCurrentValueFragment
}
}
}
}
Variables
{
"commentId": "4",
"message": "abc123"
}
Response
{
"data": {
"replyComment": {
"id": 4,
"parentId": "4",
"documentId": "4",
"originDocumentId": "4",
"userId": 123,
"user": User,
"message": "abc123",
"resolved": false,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 987,
"createdAt": "xyz789",
"updatedAt": "abc123",
"lastEditedAt": "xyz789",
"hashCode": "abc123",
"commentedContent": CommentedContent
}
}
}
requestDemo
Response
Returns a RequestDemo!
Arguments
Name | Description |
---|---|
requestDemoInput - RequestDemoInput!
|
Example
Query
mutation RequestDemo($requestDemoInput: RequestDemoInput!) {
requestDemo(requestDemoInput: $requestDemoInput) {
email
givenName
surname
company
numberOfLabelers
name
gclid
fbclid
utmSource
desiredLabelingFeature
}
}
Variables
{"requestDemoInput": RequestDemoInput}
Response
{
"data": {
"requestDemo": {
"email": "xyz789",
"givenName": "xyz789",
"surname": "xyz789",
"company": "xyz789",
"numberOfLabelers": 123,
"name": "abc123",
"gclid": "abc123",
"fbclid": "abc123",
"utmSource": "xyz789",
"desiredLabelingFeature": "abc123"
}
}
}
requestResetPasswordByScript
Response
Returns a String
Arguments
Name | Description |
---|---|
input - RequestResetPasswordInput!
|
Example
Query
mutation RequestResetPasswordByScript($input: RequestResetPasswordInput!) {
requestResetPasswordByScript(input: $input)
}
Variables
{"input": RequestResetPasswordInput}
Response
{
"data": {
"requestResetPasswordByScript": "abc123"
}
}
requestResetPasswordLink
Response
Returns a String
Arguments
Name | Description |
---|---|
input - RequestResetPasswordInput!
|
|
datasaurApp - DatasaurApp
|
Example
Query
mutation RequestResetPasswordLink(
$input: RequestResetPasswordInput!,
$datasaurApp: DatasaurApp
) {
requestResetPasswordLink(
input: $input,
datasaurApp: $datasaurApp
)
}
Variables
{"input": RequestResetPasswordInput, "datasaurApp": "NLP"}
Response
{
"data": {
"requestResetPasswordLink": "xyz789"
}
}
resetDefaultExtensions
Response
Returns [DefaultExtension!]!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
mutation ResetDefaultExtensions($teamId: ID!) {
resetDefaultExtensions(teamId: $teamId) {
kind
labelerExtensions {
extensionId
}
reviewerExtensions {
extensionId
}
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"resetDefaultExtensions": [
{
"kind": "DOCUMENT_BASED",
"labelerExtensions": [DefaultExtensionElement],
"reviewerExtensions": [DefaultExtensionElement]
}
]
}
}
resetLabelingWork
Description
Clears all label from a labelers' document. Will fail if called with a reviewer's document ID.
Response
Returns a ResetLabelingWorkResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
Example
Query
mutation ResetLabelingWork($documentId: ID!) {
resetLabelingWork(documentId: $documentId) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
}
}
Variables
{"documentId": "4"}
Response
{"data": {"resetLabelingWork": {"job": Job}}}
resetPassword
Response
Returns a LoginSuccess
Arguments
Name | Description |
---|---|
resetPasswordInput - ResetPasswordInput!
|
Example
Query
mutation ResetPassword($resetPasswordInput: ResetPasswordInput!) {
resetPassword(resetPasswordInput: $resetPasswordInput) {
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
redirect
}
}
Variables
{"resetPasswordInput": ResetPasswordInput}
Response
{
"data": {
"resetPassword": {
"user": User,
"redirect": "abc123"
}
}
}
retryLlmVectorStoreAsync
Response
Returns a LlmVectorStoreLaunchJob!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation RetryLlmVectorStoreAsync($id: ID!) {
retryLlmVectorStoreAsync(id: $id) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
isProcessing
}
}
Variables
{"id": 4}
Response
{
"data": {
"retryLlmVectorStoreAsync": {
"job": Job,
"name": "xyz789",
"isProcessing": false
}
}
}
runAction
Description
Run a specific Action according to the following parameters: type: ActionType!
: The type of the Action (e.g. project-creation), actionId: ID
: The ID of the Action
Returns a Job object, which indicates the status of the automation process.
Response
Returns a Job!
Arguments
Name | Description |
---|---|
type - ActionType!
|
|
actionId - ID!
|
Example
Query
mutation RunAction(
$type: ActionType!,
$actionId: ID!
) {
runAction(
type: $type,
actionId: $actionId
) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"type": "CREATE_PROJECT", "actionId": 4}
Response
{
"data": {
"runAction": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
runPlaygroundRagConfig
Response
Returns a LlmApplicationRagRunnerJob!
Example
Query
mutation RunPlaygroundRagConfig(
$llmApplicationId: ID!,
$promptIds: [ID!],
$ragConfigIds: [ID!]
) {
runPlaygroundRagConfig(
llmApplicationId: $llmApplicationId,
promptIds: $promptIds,
ragConfigIds: $ragConfigIds
) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
}
}
Variables
{
"llmApplicationId": "4",
"promptIds": ["4"],
"ragConfigIds": ["4"]
}
Response
{
"data": {
"runPlaygroundRagConfig": {
"job": Job,
"name": "xyz789"
}
}
}
saveGeneralWorkspaceSettings
Response
Returns a GeneralWorkspaceSettings!
Arguments
Name | Description |
---|---|
input - SaveGeneralWorkspaceSettingsInput!
|
Example
Query
mutation SaveGeneralWorkspaceSettings($input: SaveGeneralWorkspaceSettingsInput!) {
saveGeneralWorkspaceSettings(input: $input) {
id
editorFontType
editorFontSize
editorLineSpacing
editorLineSpacingRatio
showIndexBar
showLabels
keepLabelBoxOpenAfterRelabel
jumpToNextDocumentOnSubmit
jumpToNextDocumentOnDocumentCompleted
jumpToNextSpanOnSubmit
multipleSelectLabels
}
}
Variables
{"input": SaveGeneralWorkspaceSettingsInput}
Response
{
"data": {
"saveGeneralWorkspaceSettings": {
"id": 4,
"editorFontType": "SANS_SERIF",
"editorFontSize": "SMALL",
"editorLineSpacing": "DENSE",
"editorLineSpacingRatio": 987.65,
"showIndexBar": true,
"showLabels": "ALWAYS",
"keepLabelBoxOpenAfterRelabel": false,
"jumpToNextDocumentOnSubmit": false,
"jumpToNextDocumentOnDocumentCompleted": false,
"jumpToNextSpanOnSubmit": false,
"multipleSelectLabels": true
}
}
}
saveOCRContentPositionMaps
Response
Returns an OCRContentPositionMapsResult!
Arguments
Name | Description |
---|---|
input - SaveOCRContentPositionMapsInput!
|
Example
Query
mutation SaveOCRContentPositionMaps($input: SaveOCRContentPositionMapsInput!) {
saveOCRContentPositionMaps(input: $input) {
documentId
maps {
mediaToTranscript
transcriptToMedia
}
}
}
Variables
{"input": SaveOCRContentPositionMapsInput}
Response
{
"data": {
"saveOCRContentPositionMaps": {
"documentId": "4",
"maps": OCRContentPositionMaps
}
}
}
saveProjectWorkspaceSettings
Response
Returns a TextDocumentSettings!
Arguments
Name | Description |
---|---|
input - SaveProjectWorkspaceSettingsInput!
|
Example
Query
mutation SaveProjectWorkspaceSettings($input: SaveProjectWorkspaceSettingsInput!) {
saveProjectWorkspaceSettings(input: $input) {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
urlColumnNames
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
name
pattern
flags
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
}
Variables
{"input": SaveProjectWorkspaceSettingsInput}
Response
{
"data": {
"saveProjectWorkspaceSettings": {
"id": 4,
"textLabelMaxTokenLength": 987,
"allTokensMustBeLabeled": true,
"autoScrollWhenLabeling": false,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": true,
"allowMultiLabels": false,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "xyz789",
"tokenizer": "abc123",
"editSentenceTokenizer": "abc123",
"displayedRows": 987,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": false,
"enableTabularMarkdownParsing": true,
"enableAnonymization": false,
"anonymizationEntityTypes": [
"abc123"
],
"anonymizationMaskingMethod": "xyz789",
"anonymizationRegExps": [RegularExpression],
"fileTransformerId": "abc123",
"rowQuestionsFormValidationScriptId": 4,
"enableRowQuestionsFormValidationScript": true
}
}
}
saveSearchKeyword
Response
Returns a SearchHistoryKeyword!
Arguments
Name | Description |
---|---|
keyword - String!
|
Example
Query
mutation SaveSearchKeyword($keyword: String!) {
saveSearchKeyword(keyword: $keyword) {
id
keyword
}
}
Variables
{"keyword": "abc123"}
Response
{
"data": {
"saveSearchKeyword": {
"id": "4",
"keyword": "abc123"
}
}
}
scheduleDeleteProjects
Response
Returns [Project!]!
Arguments
Name | Description |
---|---|
projectIds - [String!]!
|
|
dueInDays - Int!
|
Example
Query
mutation ScheduleDeleteProjects(
$projectIds: [String!]!,
$dueInDays: Int!
) {
scheduleDeleteProjects(
projectIds: $projectIds,
dueInDays: $dueInDays
) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"projectIds": ["abc123"], "dueInDays": 987}
Response
{
"data": {
"scheduleDeleteProjects": [
{
"id": "4",
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "xyz789",
"exportedDate": "abc123",
"updatedDate": "abc123",
"isOwnerMe": false,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
]
}
}
selfAssign
Response
Returns a ProjectSelfAssignment!
Arguments
Name | Description |
---|---|
input - SelfAssignInput!
|
Example
Query
mutation SelfAssign($input: SelfAssignInput!) {
selfAssign(input: $input) {
updatedAssignment {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
assignedDocumentsCount
status
}
}
Variables
{"input": SelfAssignInput}
Response
{
"data": {
"selfAssign": {
"updatedAssignment": ProjectAssignment,
"assignedDocumentsCount": 987,
"status": "PARTIAL"
}
}
}
selfUnassign
Response
Returns a ProjectSelfUnassignment!
Arguments
Name | Description |
---|---|
input - SelfUnassignInput!
|
Example
Query
mutation SelfUnassign($input: SelfUnassignInput!) {
selfUnassign(input: $input) {
updatedAssignment {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
unassignedDocumentsCount
}
}
Variables
{"input": SelfUnassignInput}
Response
{
"data": {
"selfUnassign": {
"updatedAssignment": ProjectAssignment,
"unassignedDocumentsCount": 987
}
}
}
setCabinetStatus
Description
Set a project cabinet to COMPLETE or IN_PROGRESS. If done with the role=REVIEWER, it will also impact LABELERs' cabinet.
Response
Returns a Cabinet!
Arguments
Name | Description |
---|---|
cabinetMatcher - CabinetMatcherInput!
|
|
targetStatus - CabinetStatus!
|
|
skipValidation - Boolean
|
Example
Query
mutation SetCabinetStatus(
$cabinetMatcher: CabinetMatcherInput!,
$targetStatus: CabinetStatus!,
$skipValidation: Boolean
) {
setCabinetStatus(
cabinetMatcher: $cabinetMatcher,
targetStatus: $targetStatus,
skipValidation: $skipValidation
) {
id
documents
role
status
lastOpenedDocumentId
statistic {
id
numberOfTokens
numberOfLines
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
createdAt
}
}
Variables
{
"cabinetMatcher": CabinetMatcherInput,
"targetStatus": "IN_PROGRESS",
"skipValidation": false
}
Response
{
"data": {
"setCabinetStatus": {
"id": "4",
"documents": [TextDocumentScalar],
"role": "REVIEWER",
"status": "IN_PROGRESS",
"lastOpenedDocumentId": 4,
"statistic": CabinetStatistic,
"owner": User,
"createdAt": "2007-12-03T10:15:30Z"
}
}
}
setCommentResolved
Example
Query
mutation SetCommentResolved(
$commentId: ID!,
$resolved: Boolean!
) {
setCommentResolved(
commentId: $commentId,
resolved: $resolved
) {
id
parentId
documentId
originDocumentId
userId
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
message
resolved
resolvedAt
resolvedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
repliesCount
createdAt
updatedAt
lastEditedAt
hashCode
commentedContent {
hashCodeType
contexts {
...CommentedContentContextValueFragment
}
currentValue {
...CommentedContentCurrentValueFragment
}
}
}
}
Variables
{"commentId": "4", "resolved": false}
Response
{
"data": {
"setCommentResolved": {
"id": "4",
"parentId": "4",
"documentId": "4",
"originDocumentId": 4,
"userId": 123,
"user": User,
"message": "abc123",
"resolved": false,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 987,
"createdAt": "xyz789",
"updatedAt": "abc123",
"lastEditedAt": "abc123",
"hashCode": "xyz789",
"commentedContent": CommentedContent
}
}
}
setGlobalWorkspacePermissionsSettings
Response
Returns a GlobalWorkspacePermissionsSettings
Arguments
Name | Description |
---|---|
input - GlobalWorkspacePermissionsSettingsInput!
|
Example
Query
mutation SetGlobalWorkspacePermissionsSettings($input: GlobalWorkspacePermissionsSettingsInput!) {
setGlobalWorkspacePermissionsSettings(input: $input) {
allowCreateWorkspaces
allowInviteTeamMembers
allowChangeTeamMemberRoles
}
}
Variables
{"input": GlobalWorkspacePermissionsSettingsInput}
Response
{
"data": {
"setGlobalWorkspacePermissionsSettings": {
"allowCreateWorkspaces": true,
"allowInviteTeamMembers": true,
"allowChangeTeamMemberRoles": true
}
}
}
signUp
Response
Returns a LoginSuccess
Arguments
Name | Description |
---|---|
createUserInput - CreateUserInput!
|
|
datasaurApp - DatasaurApp
|
Example
Query
mutation SignUp(
$createUserInput: CreateUserInput!,
$datasaurApp: DatasaurApp
) {
signUp(
createUserInput: $createUserInput,
datasaurApp: $datasaurApp
) {
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
redirect
}
}
Variables
{"createUserInput": CreateUserInput, "datasaurApp": "NLP"}
Response
{
"data": {
"signUp": {
"user": User,
"redirect": "xyz789"
}
}
}
skipTeamOnboarding
Response
Returns a TeamOnboarding!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
mutation SkipTeamOnboarding($teamId: ID!) {
skipTeamOnboarding(teamId: $teamId) {
id
teamId
state
version
tasks {
id
name
reward
completedAt
}
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"skipTeamOnboarding": {
"id": 4,
"teamId": "4",
"state": "NOT_OPENED",
"version": 987,
"tasks": [TeamOnboardingTask]
}
}
}
splitChunk
Response
Returns a SplitChunkResponse!
Arguments
Name | Description |
---|---|
input - SplitChunkInput!
|
Example
Query
mutation SplitChunk($input: SplitChunkInput!) {
splitChunk(input: $input) {
splitChunks {
text
metadata
embedding
}
previousChunk {
text
metadata
embedding
}
nextChunk {
text
metadata
embedding
}
}
}
Variables
{"input": SplitChunkInput}
Response
{
"data": {
"splitChunk": {
"splitChunks": [DocumentChunk],
"previousChunk": DocumentChunk,
"nextChunk": DocumentChunk
}
}
}
startDatasaurDinamicRowBasedTrainingJob
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - StartDatasaurDinamicRowBasedTrainingJobInput!
|
Example
Query
mutation StartDatasaurDinamicRowBasedTrainingJob($input: StartDatasaurDinamicRowBasedTrainingJobInput!) {
startDatasaurDinamicRowBasedTrainingJob(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": StartDatasaurDinamicRowBasedTrainingJobInput}
Response
{
"data": {
"startDatasaurDinamicRowBasedTrainingJob": {
"id": "abc123",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
startDatasaurDinamicTokenBasedTrainingJob
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - StartDatasaurDinamicTokenBasedTrainingJobInput!
|
Example
Query
mutation StartDatasaurDinamicTokenBasedTrainingJob($input: StartDatasaurDinamicTokenBasedTrainingJobInput!) {
startDatasaurDinamicTokenBasedTrainingJob(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": StartDatasaurDinamicTokenBasedTrainingJobInput}
Response
{
"data": {
"startDatasaurDinamicTokenBasedTrainingJob": {
"id": "abc123",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
}
}
startDatasaurPredictiveTrainingJob
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - StartDatasaurPredictiveTrainingJobInput!
|
Example
Query
mutation StartDatasaurPredictiveTrainingJob($input: StartDatasaurPredictiveTrainingJobInput!) {
startDatasaurPredictiveTrainingJob(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": StartDatasaurPredictiveTrainingJobInput}
Response
{
"data": {
"startDatasaurPredictiveTrainingJob": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
startExtensionTrial
Response
Returns a TeamSetting!
Arguments
Name | Description |
---|---|
input - StartExtensionTrialInput!
|
Example
Query
mutation StartExtensionTrial($input: StartExtensionTrialInput!) {
startExtensionTrial(input: $input) {
activitySettings {
readSource
writeTargets
}
additionalSetting {
customUploadSetting {
...CustomUploadSettingFragment
}
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
deployedApiRunPrompt
sandboxRunPrompt
}
enableScriptGeneratedQuestion
rowModification {
insertRow
deleteRow
editRow
}
}
}
Variables
{"input": StartExtensionTrialInput}
Response
{
"data": {
"startExtensionTrial": {
"activitySettings": TeamActivitySettings,
"additionalSetting": AdditionalTeamSetting,
"allowedAdminExportMethods": ["FILE_STORAGE"],
"allowedLabelerExportMethods": ["FILE_STORAGE"],
"allowedOCRProviders": ["APACHE_TIKA"],
"allowedASRProviders": ["OPENAI_WHISPER"],
"allowedReviewerExportMethods": ["FILE_STORAGE"],
"commentNotificationType": "OFF",
"customAPICreationLimit": 123,
"defaultCustomTextExtractionAPIId": "4",
"defaultExternalObjectStorageId": 4,
"enableActions": true,
"enableAddDocumentsToProject": false,
"enableDemo": false,
"enableDataProgramming": true,
"enableLabelingFunctionMultipleLabel": true,
"enableDatasaurAssistRowBased": true,
"enableDatasaurDinamicTokenBased": false,
"enableDatasaurPredictiveRowBased": false,
"enableLabelingAgentSpanBased": true,
"enableWipeData": true,
"enableExportTeamOverview": false,
"enableSelfAssignment": false,
"enableTransferOwnership": false,
"enableLabelErrorDetectionRowBased": false,
"allowedExtraAutoLabelProviders": ["CUSTOM"],
"enableLLMProject": true,
"enableRegexSentenceSeparator": true,
"enableTeamRoleSupervisor": true,
"endExtensionTrialAt": "2007-12-03T10:15:30Z",
"allowInvalidPaymentMethod": true,
"enableExternalKnowledgeBase": true,
"enableForceAnonymization": false,
"enableReviewIndicator": false,
"enableValidationScript": true,
"enableSpanLabelingWithRowQuestions": false,
"llmFreeTrialDailyLimitsConfig": LlmFreeTrialDailyLimitsConfig,
"enableScriptGeneratedQuestion": true,
"rowModification": RowModificationSetting
}
}
}
startFineTuningJob
Description
Creates a new fine tuned Model.
Response
Returns a LlmModel!
Arguments
Name | Description |
---|---|
input - LlmModelFineTuningInput!
|
Example
Query
mutation StartFineTuningJob($input: LlmModelFineTuningInput!) {
startFineTuningJob(input: $input) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"input": LlmModelFineTuningInput}
Response
{
"data": {
"startFineTuningJob": {
"id": "4",
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "xyz789",
"url": "abc123",
"maxTemperature": 123.45,
"maxTopP": 123.45,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 987.65,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
startLabelErrorDetectionRowBasedJob
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - StartLabelErrorDetectionRowBasedJobInput!
|
Example
Query
mutation StartLabelErrorDetectionRowBasedJob($input: StartLabelErrorDetectionRowBasedJobInput!) {
startLabelErrorDetectionRowBasedJob(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": StartLabelErrorDetectionRowBasedJobInput}
Response
{
"data": {
"startLabelErrorDetectionRowBasedJob": {
"id": "abc123",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
startTeamOnboarding
Response
Returns a TeamOnboarding!
Arguments
Name | Description |
---|---|
teamId - ID!
|
Example
Query
mutation StartTeamOnboarding($teamId: ID!) {
startTeamOnboarding(teamId: $teamId) {
id
teamId
state
version
tasks {
id
name
reward
completedAt
}
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"startTeamOnboarding": {
"id": "4",
"teamId": 4,
"state": "NOT_OPENED",
"version": 123,
"tasks": [TeamOnboardingTask]
}
}
}
stopFineTuningJob
Description
Stops a fine tuning model training job.
Example
Query
mutation StopFineTuningJob($llmModelId: ID!) {
stopFineTuningJob(llmModelId: $llmModelId) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"llmModelId": "4"}
Response
{
"data": {
"stopFineTuningJob": {
"id": 4,
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "abc123",
"url": "abc123",
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 123,
"maxContextWindow": 123,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 987.65,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
submitEmail
Response
Returns a WelcomeEmail!
Arguments
Name | Description |
---|---|
welcomeEmailInput - WelcomeEmailInput!
|
Example
Query
mutation SubmitEmail($welcomeEmailInput: WelcomeEmailInput!) {
submitEmail(welcomeEmailInput: $welcomeEmailInput) {
email
}
}
Variables
{"welcomeEmailInput": WelcomeEmailInput}
Response
{
"data": {
"submitEmail": {"email": "xyz789"}
}
}
submitTrialSurvey
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - TrialSurveyInput!
|
Example
Query
mutation SubmitTrialSurvey($input: TrialSurveyInput!) {
submitTrialSurvey(input: $input)
}
Variables
{"input": TrialSurveyInput}
Response
{"data": {"submitTrialSurvey": true}}
syncLlmEmbeddingModels
syncLlmModels
toggleArchiveProjects
Response
Returns [Project!]!
Arguments
Name | Description |
---|---|
projectIds - [String!]!
|
Example
Query
mutation ToggleArchiveProjects($projectIds: [String!]!) {
toggleArchiveProjects(projectIds: $projectIds) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"projectIds": ["abc123"]}
Response
{
"data": {
"toggleArchiveProjects": [
{
"id": 4,
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "xyz789",
"updatedDate": "abc123",
"isOwnerMe": true,
"isReviewByMeAllowed": true,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 123
}
]
}
}
toggleCabinetStatus
Description
Deprecated. Please use setCabinetStatus
instead.
Response
Returns a Cabinet!
Example
Query
mutation ToggleCabinetStatus(
$projectId: ID!,
$role: Role!,
$skipValidation: Boolean
) {
toggleCabinetStatus(
projectId: $projectId,
role: $role,
skipValidation: $skipValidation
) {
id
documents
role
status
lastOpenedDocumentId
statistic {
id
numberOfTokens
numberOfLines
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
createdAt
}
}
Variables
{"projectId": 4, "role": "REVIEWER", "skipValidation": true}
Response
{
"data": {
"toggleCabinetStatus": {
"id": 4,
"documents": [TextDocumentScalar],
"role": "REVIEWER",
"status": "IN_PROGRESS",
"lastOpenedDocumentId": "4",
"statistic": CabinetStatistic,
"owner": User,
"createdAt": "2007-12-03T10:15:30Z"
}
}
}
toggleDocumentStatus
Description
Deprecated. Please use markDocumentAsComplete
and markDocumentAsInProgress
instead.
Response
Returns a TextDocument!
Example
Query
mutation ToggleDocumentStatus(
$documentId: ID!,
$skipValidation: Boolean
) {
toggleDocumentStatus(
documentId: $documentId,
skipValidation: $skipValidation
) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"documentId": 4, "skipValidation": false}
Response
{
"data": {
"toggleDocumentStatus": {
"id": "4",
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": false,
"completedByUserId": "4",
"lastSavedAt": "abc123",
"mimeType": "xyz789",
"name": "abc123",
"projectId": 4,
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4,
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": 4,
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "abc123",
"version": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "abc123",
"part": 123
}
}
}
trackMeetWithSales
Response
Returns a Boolean
Example
Query
mutation TrackMeetWithSales(
$userEmail: String!,
$fieldId: String!,
$value: String!
) {
trackMeetWithSales(
userEmail: $userEmail,
fieldId: $fieldId,
value: $value
)
}
Variables
{
"userEmail": "xyz789",
"fieldId": "xyz789",
"value": "xyz789"
}
Response
{"data": {"trackMeetWithSales": false}}
triggerLabelingAgentLabelPredictionJob
Response
Returns a Job!
Arguments
Name | Description |
---|---|
input - TriggerLabelingAgentLabelPredictionJobInput!
|
Example
Query
mutation TriggerLabelingAgentLabelPredictionJob($input: TriggerLabelingAgentLabelPredictionJobInput!) {
triggerLabelingAgentLabelPredictionJob(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": TriggerLabelingAgentLabelPredictionJobInput}
Response
{
"data": {
"triggerLabelingAgentLabelPredictionJob": {
"id": "abc123",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
}
}
triggerTaskCompleted
Response
Returns a Boolean
Arguments
Name | Description |
---|---|
input - TaskCompletedInput!
|
Example
Query
mutation TriggerTaskCompleted($input: TaskCompletedInput!) {
triggerTaskCompleted(input: $input)
}
Variables
{"input": TaskCompletedInput}
Response
{"data": {"triggerTaskCompleted": false}}
undeployLlmEmbeddingModel
Response
Returns a LlmEmbeddingModel!
Arguments
Name | Description |
---|---|
id - ID!
|
Example
Query
mutation UndeployLlmEmbeddingModel($id: ID!) {
undeployLlmEmbeddingModel(id: $id) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{"id": "4"}
Response
{
"data": {
"undeployLlmEmbeddingModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "xyz789",
"url": "xyz789",
"maxTokens": 987,
"dimensions": 987,
"deployableModelId": "abc123",
"isModelDeployable": false,
"createdAt": "xyz789",
"updatedAt": "abc123",
"variant": "META",
"customDimension": true
}
}
}
undeployLlmModel
Example
Query
mutation UndeployLlmModel($id: ID!) {
undeployLlmModel(id: $id) {
id
teamId
provider
name
displayName
url
maxTemperature
maxTopP
maxTokens
maxContextWindow
defaultTemperature
defaultTopP
defaultMaxTokens
minTemperature
minTopP
llmModelFineTuningJob {
id
name
teamId
status
errorMessage
baseModelId
parentId
resultModelId
trainingJobId
trainingDataset {
...GroundTruthSetFragment
}
trainingDatasetFilename
validationSize
validationDataset {
...GroundTruthSetFragment
}
validationDatasetFilename
epochs
learningRate
batchSize
earlyStoppingThreshold
earlyStoppingPatience
learningRateWarmUpStep
learningRateMultiplier
createdByUser {
...UserFragment
}
createdAt
updatedAt
}
deployableModelId
isModelDeployable
forceAnonymization
hasVisionCapability
variant
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"undeployLlmModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "abc123",
"url": "xyz789",
"maxTemperature": 987.65,
"maxTopP": 123.45,
"maxTokens": 123,
"maxContextWindow": 987,
"defaultTemperature": 123.45,
"defaultTopP": 123.45,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
unmarkUnusedLabelClass
Description
Unmark a label class as N/A
Response
Returns an UnusedLabelClass!
Arguments
Name | Description |
---|---|
input - MarkUnusedLabelClassInput!
|
Example
Query
mutation UnmarkUnusedLabelClass($input: MarkUnusedLabelClassInput!) {
unmarkUnusedLabelClass(input: $input) {
documentId
labelSetId
labelClassId
isMarked
}
}
Variables
{"input": MarkUnusedLabelClassInput}
Response
{
"data": {
"unmarkUnusedLabelClass": {
"documentId": "4",
"labelSetId": "4",
"labelClassId": "xyz789",
"isMarked": true
}
}
}
updateCabinetDocumentMeta
Response
Returns [DocumentMeta!]!
Arguments
Name | Description |
---|---|
cabinetId - ID!
|
|
input - [DocumentMetaInput!]!
|
Example
Query
mutation UpdateCabinetDocumentMeta(
$cabinetId: ID!,
$input: [DocumentMetaInput!]!
) {
updateCabinetDocumentMeta(
cabinetId: $cabinetId,
input: $input
) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{"cabinetId": 4, "input": [DocumentMetaInput]}
Response
{
"data": {
"updateCabinetDocumentMeta": [
{
"id": 123,
"cabinetId": 987,
"name": "abc123",
"width": "abc123",
"displayed": false,
"labelerRestricted": false,
"rowQuestionIndex": 987
}
]
}
}
updateChunk
Response
Returns a DocumentChunk!
Arguments
Name | Description |
---|---|
input - UpdateChunkInput!
|
Example
Query
mutation UpdateChunk($input: UpdateChunkInput!) {
updateChunk(input: $input) {
text
metadata
embedding
}
}
Variables
{"input": UpdateChunkInput}
Response
{
"data": {
"updateChunk": {
"text": "abc123",
"metadata": DocumentChunkMetadata,
"embedding": [123.45]
}
}
}
updateConflicts
Response
Returns an UpdateConflictsResult!
Arguments
Name | Description |
---|---|
textDocumentId - ID!
|
|
input - [UpdateConflictsInput!]!
|
Example
Query
mutation UpdateConflicts(
$textDocumentId: ID!,
$input: [UpdateConflictsInput!]!
) {
updateConflicts(
textDocumentId: $textDocumentId,
input: $input
) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
previousSentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
updatedSentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
}
}
Variables
{
"textDocumentId": "4",
"input": [UpdateConflictsInput]
}
Response
{
"data": {
"updateConflicts": {
"document": TextDocument,
"previousSentences": [TextSentence],
"updatedSentences": [TextSentence]
}
}
}
updateContactFieldByFieldId
Example
Query
mutation UpdateContactFieldByFieldId(
$fieldId: String!,
$value: String!
) {
updateContactFieldByFieldId(
fieldId: $fieldId,
value: $value
)
}
Variables
{
"fieldId": "xyz789",
"value": "xyz789"
}
Response
{"data": {"updateContactFieldByFieldId": true}}
updateCreateProjectAction
Response
Returns a CreateProjectAction
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
actionId - ID!
|
|
input - UpdateCreateProjectActionInput!
|
Example
Query
mutation UpdateCreateProjectAction(
$teamId: ID!,
$actionId: ID!,
$input: UpdateCreateProjectActionInput!
) {
updateCreateProjectAction(
teamId: $teamId,
actionId: $actionId,
input: $input
) {
id
name
teamId
appVersion
creatorId
lastRunAt
lastFinishedAt
externalObjectStorageId
externalObjectStorage {
id
cloudService
bucketId
bucketName
credentials {
...ExternalObjectStorageCredentialsFragment
}
securityToken
team {
...TeamFragment
}
projects {
...ProjectFragment
}
createdAt
updatedAt
}
externalObjectStoragePathInput
externalObjectStoragePathResult
projectTemplateId
projectTemplate {
id
name
teamId
team {
...TeamFragment
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
...ProjectTemplateProjectSettingFragment
}
projectTemplateTextDocumentSetting {
...ProjectTemplateTextDocumentSettingFragment
}
labelSetTemplates {
...LabelSetTemplateFragment
}
questionSets {
...QuestionSetFragment
}
createdAt
updatedAt
purpose
creatorId
}
assignments {
id
actionId
role
teamMember {
...TeamMemberFragment
}
teamMemberId
totalAssignedAsLabeler
totalAssignedAsReviewer
}
additionalTagNames
numberOfLabelersPerProject
numberOfReviewersPerProject
numberOfLabelersPerDocument
conflictResolutionMode
consensus
warnings
}
}
Variables
{
"teamId": "4",
"actionId": 4,
"input": UpdateCreateProjectActionInput
}
Response
{
"data": {
"updateCreateProjectAction": {
"id": "4",
"name": "xyz789",
"teamId": 4,
"appVersion": "xyz789",
"creatorId": "4",
"lastRunAt": "xyz789",
"lastFinishedAt": "abc123",
"externalObjectStorageId": 4,
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "abc123",
"projectTemplateId": "4",
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["abc123"],
"numberOfLabelersPerProject": 987,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 123,
"warnings": ["ASSIGNED_LABELER_NOT_MEET_CONSENSUS"]
}
}
}
updateCustomAPI
Response
Returns a CustomAPI!
Arguments
Name | Description |
---|---|
customAPIId - ID!
|
|
input - UpdateCustomAPIInput!
|
Example
Query
mutation UpdateCustomAPI(
$customAPIId: ID!,
$input: UpdateCustomAPIInput!
) {
updateCustomAPI(
customAPIId: $customAPIId,
input: $input
) {
id
teamId
endpointURL
name
purpose
}
}
Variables
{
"customAPIId": "4",
"input": UpdateCustomAPIInput
}
Response
{
"data": {
"updateCustomAPI": {
"id": "4",
"teamId": "4",
"endpointURL": "abc123",
"name": "xyz789",
"purpose": "ASR_API"
}
}
}
updateDatasaurDinamicRowBased
Response
Returns a DatasaurDinamicRowBased!
Arguments
Name | Description |
---|---|
input - UpdateDatasaurDinamicRowBasedInput
|
Example
Query
mutation UpdateDatasaurDinamicRowBased($input: UpdateDatasaurDinamicRowBasedInput) {
updateDatasaurDinamicRowBased(input: $input) {
id
projectId
provider
inputColumnIds
questionColumnId
providerSetting
modelMetadata
trainingJobId
createdAt
updatedAt
}
}
Variables
{"input": UpdateDatasaurDinamicRowBasedInput}
Response
{
"data": {
"updateDatasaurDinamicRowBased": {
"id": "4",
"projectId": 4,
"provider": "HUGGINGFACE",
"inputColumnIds": [123],
"questionColumnId": 987,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": "4",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
updateDatasaurDinamicTokenBased
Response
Returns a DatasaurDinamicTokenBased!
Arguments
Name | Description |
---|---|
input - UpdateDatasaurDinamicTokenBasedInput
|
Example
Query
mutation UpdateDatasaurDinamicTokenBased($input: UpdateDatasaurDinamicTokenBasedInput) {
updateDatasaurDinamicTokenBased(input: $input) {
id
projectId
provider
targetLabelSetIndex
providerSetting
modelMetadata
trainingJobId
createdAt
updatedAt
}
}
Variables
{"input": UpdateDatasaurDinamicTokenBasedInput}
Response
{
"data": {
"updateDatasaurDinamicTokenBased": {
"id": "4",
"projectId": "4",
"provider": "HUGGINGFACE",
"targetLabelSetIndex": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": 4,
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
updateDatasaurPredictive
Response
Returns a DatasaurPredictive!
Arguments
Name | Description |
---|---|
input - UpdateDatasaurPredictiveInput
|
Example
Query
mutation UpdateDatasaurPredictive($input: UpdateDatasaurPredictiveInput) {
updateDatasaurPredictive(input: $input) {
id
projectId
provider
inputColumnIds
questionColumnId
providerSetting
modelMetadata
trainingJobId
createdAt
updatedAt
}
}
Variables
{"input": UpdateDatasaurPredictiveInput}
Response
{
"data": {
"updateDatasaurPredictive": {
"id": 4,
"projectId": 4,
"provider": "SETFIT",
"inputColumnIds": [123],
"questionColumnId": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": "4",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
updateDefaultExtensions
Description
This mutation performs a partial update (patch) You may submit updates for specific kinds only, but the response will return all defaultExtensions for each kind.
Response
Returns [DefaultExtension!]!
Arguments
Name | Description |
---|---|
input - UpdateDefaultExtensionInput!
|
Example
Query
mutation UpdateDefaultExtensions($input: UpdateDefaultExtensionInput!) {
updateDefaultExtensions(input: $input) {
kind
labelerExtensions {
extensionId
}
reviewerExtensions {
extensionId
}
}
}
Variables
{"input": UpdateDefaultExtensionInput}
Response
{
"data": {
"updateDefaultExtensions": [
{
"kind": "DOCUMENT_BASED",
"labelerExtensions": [DefaultExtensionElement],
"reviewerExtensions": [DefaultExtensionElement]
}
]
}
}
updateDocumentAnswers
Response
Returns an UpdateDocumentAnswersResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
answers - AnswerScalar!
|
|
metadata - [AnswerMetadataInput!]
|
|
questionSetSignature - String
|
Example
Query
mutation UpdateDocumentAnswers(
$documentId: ID!,
$answers: AnswerScalar!,
$metadata: [AnswerMetadataInput!],
$questionSetSignature: String
) {
updateDocumentAnswers(
documentId: $documentId,
answers: $answers,
metadata: $metadata,
questionSetSignature: $questionSetSignature
) {
previousAnswers {
documentId
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
}
}
Variables
{
"documentId": 4,
"answers": AnswerScalar,
"metadata": [AnswerMetadataInput],
"questionSetSignature": "xyz789"
}
Response
{
"data": {
"updateDocumentAnswers": {
"previousAnswers": DocumentAnswer
}
}
}
updateDocumentMeta
Response
Returns [DocumentMeta!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - [DocumentMetaInput!]!
|
Example
Query
mutation UpdateDocumentMeta(
$projectId: ID!,
$input: [DocumentMetaInput!]!
) {
updateDocumentMeta(
projectId: $projectId,
input: $input
) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{
"projectId": "4",
"input": [DocumentMetaInput]
}
Response
{
"data": {
"updateDocumentMeta": [
{
"id": 123,
"cabinetId": 987,
"name": "abc123",
"width": "abc123",
"displayed": false,
"labelerRestricted": true,
"rowQuestionIndex": 987
}
]
}
}
updateDocumentMetaDisplayed
Response
Returns a DocumentMeta!
Example
Query
mutation UpdateDocumentMetaDisplayed(
$cabinetId: ID!,
$metaId: Int!,
$displayed: Boolean!
) {
updateDocumentMetaDisplayed(
cabinetId: $cabinetId,
metaId: $metaId,
displayed: $displayed
) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{"cabinetId": 4, "metaId": 987, "displayed": false}
Response
{
"data": {
"updateDocumentMetaDisplayed": {
"id": 987,
"cabinetId": 123,
"name": "xyz789",
"width": "xyz789",
"displayed": false,
"labelerRestricted": false,
"rowQuestionIndex": 987
}
}
}
updateDocumentMetaLabelerRestricted
Response
Returns a DocumentMeta!
Example
Query
mutation UpdateDocumentMetaLabelerRestricted(
$projectId: ID!,
$metaId: Int!,
$labelerRestricted: Boolean!
) {
updateDocumentMetaLabelerRestricted(
projectId: $projectId,
metaId: $metaId,
labelerRestricted: $labelerRestricted
) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{
"projectId": "4",
"metaId": 987,
"labelerRestricted": true
}
Response
{
"data": {
"updateDocumentMetaLabelerRestricted": {
"id": 123,
"cabinetId": 123,
"name": "abc123",
"width": "abc123",
"displayed": false,
"labelerRestricted": false,
"rowQuestionIndex": 123
}
}
}
updateDocumentMetas
Response
Returns [DocumentMeta!]!
Arguments
Name | Description |
---|---|
input - UpdateDocumentMetasInput
|
Example
Query
mutation UpdateDocumentMetas($input: UpdateDocumentMetasInput) {
updateDocumentMetas(input: $input) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{"input": UpdateDocumentMetasInput}
Response
{
"data": {
"updateDocumentMetas": [
{
"id": 987,
"cabinetId": 987,
"name": "abc123",
"width": "abc123",
"displayed": true,
"labelerRestricted": true,
"rowQuestionIndex": 987
}
]
}
}
updateDocumentQuestion
Description
WARNING: This mutation will remove all answers, please treat it carefully. It's recommended to call this mutation only if there are no answers yet on the project.
Response
Returns a Question!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - QuestionInput!
|
|
signature - String
|
Example
Query
mutation UpdateDocumentQuestion(
$projectId: ID!,
$input: QuestionInput!,
$signature: String
) {
updateDocumentQuestion(
projectId: $projectId,
input: $input,
signature: $signature
) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{
"projectId": "4",
"input": QuestionInput,
"signature": "xyz789"
}
Response
{
"data": {
"updateDocumentQuestion": {
"id": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
}
}
updateDocumentQuestions
Description
WARNING: This mutation will remove all answers, please treat it carefully. It's recommended to call this mutation only if there are no answers yet on the project.
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - [QuestionInput!]!
|
|
signature - String
|
Example
Query
mutation UpdateDocumentQuestions(
$projectId: ID!,
$input: [QuestionInput!]!,
$signature: String
) {
updateDocumentQuestions(
projectId: $projectId,
input: $input,
signature: $signature
) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{
"projectId": "4",
"input": [QuestionInput],
"signature": "abc123"
}
Response
{
"data": {
"updateDocumentQuestions": [
{
"id": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"targetEntity": "xyz789"
}
]
}
}
updateDocumentStatus
Response
Returns a TextDocument!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
status - TextDocumentStatus
|
|
skipValidation - Boolean
|
Example
Query
mutation UpdateDocumentStatus(
$documentId: ID!,
$status: TextDocumentStatus,
$skipValidation: Boolean
) {
updateDocumentStatus(
documentId: $documentId,
status: $status,
skipValidation: $skipValidation
) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{
"documentId": "4",
"status": "NOT_STARTED",
"skipValidation": false
}
Response
{
"data": {
"updateDocumentStatus": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 123,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": false,
"completedByUserId": 4,
"lastSavedAt": "abc123",
"mimeType": "abc123",
"name": "abc123",
"projectId": "4",
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": "4",
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": "4",
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "abc123",
"version": 123,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "abc123",
"part": 987
}
}
}
updateFileTransformer
Response
Returns a FileTransformer!
Arguments
Name | Description |
---|---|
input - UpdateFileTransformerInput!
|
Example
Query
mutation UpdateFileTransformer($input: UpdateFileTransformerInput!) {
updateFileTransformer(input: $input) {
id
name
content
transpiled
createdAt
updatedAt
language
purpose
readonly
externalId
warmup
}
}
Variables
{"input": UpdateFileTransformerInput}
Response
{
"data": {
"updateFileTransformer": {
"id": "4",
"name": "xyz789",
"content": "xyz789",
"transpiled": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "xyz789",
"warmup": true
}
}
}
updateGroundTruth
Response
Returns a GroundTruth!
Arguments
Name | Description |
---|---|
input - UpdateGroundTruthInput!
|
Example
Query
mutation UpdateGroundTruth($input: UpdateGroundTruthInput!) {
updateGroundTruth(input: $input) {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
}
Variables
{"input": UpdateGroundTruthInput}
Response
{
"data": {
"updateGroundTruth": {
"id": 4,
"groundTruthSetId": "4",
"prompt": "abc123",
"answer": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
updateGroundTruthSet
Response
Returns a GroundTruthSet!
Arguments
Name | Description |
---|---|
input - UpdateGroundTruthSetInput!
|
Example
Query
mutation UpdateGroundTruthSet($input: UpdateGroundTruthSetInput!) {
updateGroundTruthSet(input: $input) {
id
name
teamId
createdByUserId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
groundTruthSetId
prompt
answer
createdAt
updatedAt
}
itemsCount
createdAt
updatedAt
}
}
Variables
{"input": UpdateGroundTruthSetInput}
Response
{
"data": {
"updateGroundTruthSet": {
"id": 4,
"name": "xyz789",
"teamId": 4,
"createdByUserId": 4,
"createdByUser": User,
"items": [GroundTruth],
"itemsCount": 987,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
updateLabelErrorDetectionRowBased
Response
Returns a LabelErrorDetectionRowBased!
Arguments
Name | Description |
---|---|
input - UpdateLabelErrorDetectionRowBasedInput!
|
Example
Query
mutation UpdateLabelErrorDetectionRowBased($input: UpdateLabelErrorDetectionRowBasedInput!) {
updateLabelErrorDetectionRowBased(input: $input) {
id
cabinetId
inputColumnIds
questionColumnId
jobId
createdAt
updatedAt
}
}
Variables
{"input": UpdateLabelErrorDetectionRowBasedInput}
Response
{
"data": {
"updateLabelErrorDetectionRowBased": {
"id": "4",
"cabinetId": 4,
"inputColumnIds": [987],
"questionColumnId": 123,
"jobId": 4,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
updateLabelSetTemplate
Description
Updates the specified labelset template.
Response
Returns a LabelSetTemplate
Arguments
Name | Description |
---|---|
input - UpdateLabelSetTemplateInput!
|
Example
Query
mutation UpdateLabelSetTemplate($input: UpdateLabelSetTemplateInput!) {
updateLabelSetTemplate(input: $input) {
id
name
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
type
items {
id
labelSetTemplateId
index
parentIndex
name
description
options {
...LabelSetConfigOptionsFragment
}
arrowLabelRequired
required
multipleChoice
type
minLength
maxLength
pattern
min
max
step
multiline
hint
theme
bindToColumn
format
defaultValue
createdAt
updatedAt
activationConditionLogic
}
count
createdAt
updatedAt
leafOnlyOption
}
}
Variables
{"input": UpdateLabelSetTemplateInput}
Response
{
"data": {
"updateLabelSetTemplate": {
"id": 4,
"name": "xyz789",
"owner": User,
"type": "QUESTION",
"items": [LabelSetTemplateItem],
"count": 987,
"createdAt": "abc123",
"updatedAt": "xyz789",
"leafOnlyOption": false
}
}
}
updateLabelingFunction
Response
Returns a LabelingFunction!
Arguments
Name | Description |
---|---|
input - UpdateLabelingFunctionInput!
|
Example
Query
mutation UpdateLabelingFunction($input: UpdateLabelingFunctionInput!) {
updateLabelingFunction(input: $input) {
id
dataProgrammingId
heuristicArgument
annotatorArgument
name
content
active
createdAt
updatedAt
}
}
Variables
{"input": UpdateLabelingFunctionInput}
Response
{
"data": {
"updateLabelingFunction": {
"id": "4",
"dataProgrammingId": 4,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "abc123",
"active": false,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
updateLabels
Response
Returns an UpdateLabelsResult!
Arguments
Name | Description |
---|---|
input - UpdateTokenLabelsInput!
|
Example
Query
mutation UpdateLabels($input: UpdateTokenLabelsInput!) {
updateLabels(input: $input) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
updatedSentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
updatedCellLines
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
previousTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
rejectedLabels {
label {
...TextLabelFragment
}
reason
}
}
}
Variables
{"input": UpdateTokenLabelsInput}
Response
{
"data": {
"updateLabels": {
"document": TextDocument,
"updatedSentences": [TextSentence],
"updatedCellLines": [987],
"updatedTokenLabels": [TextLabel],
"previousTokenLabels": [TextLabel],
"rejectedLabels": [RejectedLabel]
}
}
}
updateLastOpenedDocument
Example
Query
mutation UpdateLastOpenedDocument(
$cabinetId: ID!,
$documentId: ID!
) {
updateLastOpenedDocument(
cabinetId: $cabinetId,
documentId: $documentId
) {
id
documents
role
status
lastOpenedDocumentId
statistic {
id
numberOfTokens
numberOfLines
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
createdAt
}
}
Variables
{"cabinetId": 4, "documentId": 4}
Response
{
"data": {
"updateLastOpenedDocument": {
"id": 4,
"documents": [TextDocumentScalar],
"role": "REVIEWER",
"status": "IN_PROGRESS",
"lastOpenedDocumentId": "4",
"statistic": CabinetStatistic,
"owner": User,
"createdAt": "2007-12-03T10:15:30Z"
}
}
}
updateLlmApplication
Response
Returns a LlmApplication!
Arguments
Name | Description |
---|---|
input - LlmApplicationUpdateInput!
|
Example
Query
mutation UpdateLlmApplication($input: LlmApplicationUpdateInput!) {
updateLlmApplication(input: $input) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
id
deployedByUser {
...UserFragment
}
llmApplicationId
llmApplication {
...LlmApplicationFragment
}
llmRagConfig {
...LlmRagConfigFragment
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
...LlmApplicationDeploymentApiEndpointFragment
}
isDeleted
}
totalRagConfigs
}
}
Variables
{"input": LlmApplicationUpdateInput}
Response
{
"data": {
"updateLlmApplication": {
"id": 4,
"teamId": 4,
"createdByUser": User,
"name": "xyz789",
"status": "DEPLOYED",
"createdAt": "abc123",
"updatedAt": "abc123",
"llmApplicationDeployment": LlmApplicationDeployment,
"totalRagConfigs": 987
}
}
}
updateLlmApplicationConfiguration
Response
Returns a LlmApplicationConfiguration!
Arguments
Name | Description |
---|---|
input - UpdateLlmApplicationConfigurationInput!
|
Example
Query
mutation UpdateLlmApplicationConfiguration($input: UpdateLlmApplicationConfigurationInput!) {
updateLlmApplicationConfiguration(input: $input) {
id
name
teamId
createdByUserId
updatedByUserId
updatedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmRagConfigId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"input": UpdateLlmApplicationConfigurationInput}
Response
{
"data": {
"updateLlmApplicationConfiguration": {
"id": "4",
"name": "abc123",
"teamId": "4",
"createdByUserId": 4,
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": "4",
"llmRagConfig": LlmRagConfig,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false
}
}
}
updateLlmApplicationDeployment
Response
Returns a LlmApplicationDeployment!
Arguments
Name | Description |
---|---|
input - LlmApplicationDeploymentUpdateInput!
|
Example
Query
mutation UpdateLlmApplicationDeployment($input: LlmApplicationDeploymentUpdateInput!) {
updateLlmApplicationDeployment(input: $input) {
id
deployedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmApplicationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
type
endpoint
}
isDeleted
}
}
Variables
{"input": LlmApplicationDeploymentUpdateInput}
Response
{
"data": {
"updateLlmApplicationDeployment": {
"id": 4,
"deployedByUser": User,
"llmApplicationId": 4,
"llmApplication": LlmApplication,
"llmRagConfig": LlmRagConfig,
"numberOfCalls": 123,
"numberOfTokens": 123,
"numberOfInputTokens": 123,
"numberOfOutputTokens": 123,
"deployedAt": "xyz789",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": false
}
}
}
updateLlmApplicationPlaygroundPrompt
Response
Returns a LlmApplicationPlaygroundPrompt!
Arguments
Name | Description |
---|---|
input - LlmApplicationPlaygroundPromptUpdateInput!
|
Example
Query
mutation UpdateLlmApplicationPlaygroundPrompt($input: LlmApplicationPlaygroundPromptUpdateInput!) {
updateLlmApplicationPlaygroundPrompt(input: $input) {
id
llmApplicationId
name
createdAt
updatedAt
lastPromptMessage {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
...LlmApplicationPlaygroundPromptAttachmentFragment
}
createdAt
updatedAt
}
totalPromptMessages
}
}
Variables
{"input": LlmApplicationPlaygroundPromptUpdateInput}
Response
{
"data": {
"updateLlmApplicationPlaygroundPrompt": {
"id": "4",
"llmApplicationId": 4,
"name": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
}
}
updateLlmApplicationPlaygroundPromptMessage
Response
Returns a LlmApplicationPlaygroundPromptMessage!
Arguments
Name | Description |
---|---|
input - LlmApplicationPlaygroundPromptMessageItemInput!
|
Example
Query
mutation UpdateLlmApplicationPlaygroundPromptMessage($input: LlmApplicationPlaygroundPromptMessageItemInput!) {
updateLlmApplicationPlaygroundPromptMessage(input: $input) {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
id
llmFileId
llmFile {
...LlmFileFragment
}
createdAt
updatedAt
llmApplicationPlaygroundPromptMessageId
}
createdAt
updatedAt
}
}
Variables
{"input": LlmApplicationPlaygroundPromptMessageItemInput}
Response
{
"data": {
"updateLlmApplicationPlaygroundPromptMessage": {
"id": 4,
"llmApplicationPlaygroundPromptId": 4,
"content": "abc123",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachment
],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
updateLlmApplicationPlaygroundRagConfig
Response
Returns a LlmApplicationPlaygroundRagConfig!
Arguments
Name | Description |
---|---|
input - LlmApplicationPlaygroundRagConfigUpdateInput!
|
Example
Query
mutation UpdateLlmApplicationPlaygroundRagConfig($input: LlmApplicationPlaygroundRagConfigUpdateInput!) {
updateLlmApplicationPlaygroundRagConfig(input: $input) {
id
llmApplicationId
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"input": LlmApplicationPlaygroundRagConfigUpdateInput}
Response
{
"data": {
"updateLlmApplicationPlaygroundRagConfig": {
"id": 4,
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
updateLlmEvaluationAutomatedScheduled
Description
Updates a scheduled automated LLM evaluation.
Response
Returns a LlmEvaluation!
Arguments
Name | Description |
---|---|
input - UpdateLlmEvaluationAutomatedInput!
|
Example
Query
mutation UpdateLlmEvaluationAutomatedScheduled($input: UpdateLlmEvaluationAutomatedInput!) {
updateLlmEvaluationAutomatedScheduled(input: $input) {
id
name
teamId
projectId
kind
status
creationProgress {
status
jobId
error
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastScoredByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
totalPrompts
lastLlmEvaluationExecution {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"input": UpdateLlmEvaluationAutomatedInput}
Response
{
"data": {
"updateLlmEvaluationAutomatedScheduled": {
"id": "4",
"name": "abc123",
"teamId": 4,
"projectId": 4,
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": false,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": true,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 987,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
}
}
updateLlmManualEvaluationStatus
Description
Updates the LLM evaluation status.
Response
Returns a LlmEvaluation!
Arguments
Name | Description |
---|---|
id - ID!
|
|
status - GqlLlmEvaluationStatus!
|
Example
Query
mutation UpdateLlmManualEvaluationStatus(
$id: ID!,
$status: GqlLlmEvaluationStatus!
) {
updateLlmManualEvaluationStatus(
id: $id,
status: $status
) {
id
name
teamId
projectId
kind
status
creationProgress {
status
jobId
error
}
scheduledCommandConfig {
id
cronPattern
repeatInterval
runImmediately
endTime
numberOfRepetition
isNeverEnding
isPeriodic
updatedAt
}
isScheduled
createdAt
updatedAt
isDeleted
type
schedulingStatus
nextSchedule
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastScoredByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
totalPrompts
lastLlmEvaluationExecution {
id
llmEvaluationId
status
errorMessage
createdAt
updatedAt
isDeleted
}
}
}
Variables
{"id": "4", "status": "CREATING"}
Response
{
"data": {
"updateLlmManualEvaluationStatus": {
"id": "4",
"name": "abc123",
"teamId": 4,
"projectId": 4,
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": true,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"isDeleted": true,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 987,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
}
}
updateLlmVectorStore
Response
Returns a LlmVectorStore!
Arguments
Name | Description |
---|---|
input - UpdateLlmVectorStoreInput!
|
Example
Query
mutation UpdateLlmVectorStore($input: UpdateLlmVectorStoreInput!) {
updateLlmVectorStore(input: $input) {
id
teamId
createdByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmEmbeddingModel {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
provider
collectionId
name
status
documents
documentStatusCount {
totalQueued
totalProcessing
totalDeleting
totalCompleted
totalProcessFailed
totalDeleteFailed
totalDocumentInvalid
totalDocuments
}
sourceDocuments {
source {
...LlmVectorStoreSourceFragment
}
documents
}
questions {
id
internalId
type
name
label
required
config {
...QuestionConfigFragment
}
bindToColumn
activationConditionLogic
targetEntity
}
jobId
chunkConfiguration
createdAt
updatedAt
dimension
}
}
Variables
{"input": UpdateLlmVectorStoreInput}
Response
{
"data": {
"updateLlmVectorStore": {
"id": "4",
"teamId": 4,
"createdByUser": User,
"llmEmbeddingModel": LlmEmbeddingModel,
"provider": "DATASAUR",
"collectionId": "abc123",
"name": "abc123",
"status": "CREATED",
"documents": [LlmVectorStoreDocumentScalar],
"documentStatusCount": LlmVectorStoreDocumentCountByStatus,
"sourceDocuments": [LlmVectorStoreSourceDocument],
"questions": [Question],
"jobId": "abc123",
"chunkConfiguration": ChunkConfiguration,
"createdAt": "abc123",
"updatedAt": "abc123",
"dimension": 123
}
}
}
updateLlmVectorStoreAsync
Response
Returns a LlmVectorStoreLaunchJob!
Arguments
Name | Description |
---|---|
input - UpdateLlmVectorStoreAsyncInput!
|
Example
Query
mutation UpdateLlmVectorStoreAsync($input: UpdateLlmVectorStoreAsyncInput!) {
updateLlmVectorStoreAsync(input: $input) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
name
isProcessing
}
}
Variables
{"input": UpdateLlmVectorStoreAsyncInput}
Response
{
"data": {
"updateLlmVectorStoreAsync": {
"job": Job,
"name": "abc123",
"isProcessing": false
}
}
}
updateMultiRowAnswers
Description
Replaces the answers at the specified lines
Response
Returns an UpdateMultiRowAnswersResult!
Arguments
Name | Description |
---|---|
input - UpdateMultiRowAnswersInput!
|
|
questionSetSignature - String
|
Example
Query
mutation UpdateMultiRowAnswers(
$input: UpdateMultiRowAnswersInput!,
$questionSetSignature: String
) {
updateMultiRowAnswers(
input: $input,
questionSetSignature: $questionSetSignature
) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
previousAnswers {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
updatedAnswers {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
updatedLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
}
}
Variables
{
"input": UpdateMultiRowAnswersInput,
"questionSetSignature": "xyz789"
}
Response
{
"data": {
"updateMultiRowAnswers": {
"document": TextDocument,
"previousAnswers": [RowAnswer],
"updatedAnswers": [RowAnswer],
"updatedLabels": [TextLabel]
}
}
}
updatePinnedProjectTemplates
Response
Returns [ProjectTemplateV2!]!
Example
Query
mutation UpdatePinnedProjectTemplates(
$teamId: ID!,
$projectTemplateIds: [ID!]!
) {
updatePinnedProjectTemplates(
teamId: $teamId,
projectTemplateIds: $projectTemplateIds
) {
id
name
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"teamId": 4, "projectTemplateIds": ["4"]}
Response
{
"data": {
"updatePinnedProjectTemplates": [
{
"id": "4",
"name": "xyz789",
"logoURL": "xyz789",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": 4,
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": "4",
"type": "CUSTOM",
"description": "abc123",
"imagePreviewURL": "xyz789",
"videoURL": "xyz789"
}
]
}
}
updateProject
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - UpdateProjectInput!
|
Example
Query
mutation UpdateProject($input: UpdateProjectInput!) {
updateProject(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": UpdateProjectInput}
Response
{
"data": {
"updateProject": {
"id": 4,
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "abc123",
"completedDate": "xyz789",
"exportedDate": "abc123",
"updatedDate": "abc123",
"isOwnerMe": false,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
updateProjectBBoxLabelSet
Description
Replaces existing label set entirely with new input. PUT-like operation
Response
Returns a BBoxLabelSet!
Arguments
Name | Description |
---|---|
input - BBoxLabelSetInput!
|
Example
Query
mutation UpdateProjectBBoxLabelSet($input: BBoxLabelSetInput!) {
updateProjectBBoxLabelSet(input: $input) {
id
name
classes {
id
name
color
captionAllowed
captionRequired
questions {
...QuestionFragment
}
}
autoLabelProvider
}
}
Variables
{"input": BBoxLabelSetInput}
Response
{
"data": {
"updateProjectBBoxLabelSet": {
"id": 4,
"name": "xyz789",
"classes": [BBoxLabelClass],
"autoLabelProvider": "TESSERACT"
}
}
}
updateProjectExtension
Response
Returns a ProjectExtension
Arguments
Name | Description |
---|---|
input - UpdateProjectExtensionInput!
|
Example
Query
mutation UpdateProjectExtension($input: UpdateProjectExtensionInput!) {
updateProjectExtension(input: $input) {
id
cabinetId
elements {
id
enabled
extension {
...ExtensionFragment
}
height
order
setting {
...ExtensionElementSettingFragment
}
}
width
}
}
Variables
{"input": UpdateProjectExtensionInput}
Response
{
"data": {
"updateProjectExtension": {
"id": 4,
"cabinetId": "4",
"elements": [ExtensionElement],
"width": 123
}
}
}
updateProjectExtensionElementSetting
Response
Returns an ExtensionElement
Arguments
Name | Description |
---|---|
input - UpdateProjectExtensionElementSettingInput!
|
Example
Query
mutation UpdateProjectExtensionElementSetting($input: UpdateProjectExtensionElementSettingInput!) {
updateProjectExtensionElementSetting(input: $input) {
id
enabled
extension {
id
title
url
elementType
elementKind
documentType
}
height
order
setting {
extensionId
serviceProvider
apiURL
confidenceScore
locked
modelId
apiToken
systemPrompt
userPrompt
temperature
topP
model
enableLabelingFunctionMultipleLabel
endpointArn
roleArn
endpointAwsSagemakerArn
awsSagemakerRoleArn
externalId
namespace
inputColumns
questionColumn
questionColumns
labelSetIndex
options
bboxLabelSetId
pageRange
}
}
}
Variables
{"input": UpdateProjectExtensionElementSettingInput}
Response
{
"data": {
"updateProjectExtensionElementSetting": {
"id": 4,
"enabled": false,
"extension": Extension,
"height": 987,
"order": 987,
"setting": ExtensionElementSetting
}
}
}
updateProjectGuideline
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - UpdateProjectGuidelineInput!
|
Example
Query
mutation UpdateProjectGuideline($input: UpdateProjectGuidelineInput!) {
updateProjectGuideline(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": UpdateProjectGuidelineInput}
Response
{
"data": {
"updateProjectGuideline": {
"id": "4",
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"isOwnerMe": true,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 123
}
}
}
updateProjectLabelSet
Description
Updates a specific project's labelset.
Response
Returns a LabelSet!
Arguments
Name | Description |
---|---|
input - UpdateProjectLabelSetInput!
|
Example
Query
mutation UpdateProjectLabelSet($input: UpdateProjectLabelSetInput!) {
updateProjectLabelSet(input: $input) {
id
name
index
signature
tagItems {
id
parentId
tagName
desc
color
type
arrowRules {
...LabelClassArrowRuleFragment
}
}
lastUsedBy {
projectId
name
}
arrowLabelRequired
leafOnlyOption
}
}
Variables
{"input": UpdateProjectLabelSetInput}
Response
{
"data": {
"updateProjectLabelSet": {
"id": "4",
"name": "abc123",
"index": 987,
"signature": "abc123",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": true,
"leafOnlyOption": true
}
}
}
updateProjectLabelSetByLabelSetTemplate
Description
Update a project labelset to use labelset template.
Response
Returns a LabelSet!
Arguments
Name | Description |
---|---|
input - UpdateProjectLabelSetByLabelSetTemplateInput!
|
Example
Query
mutation UpdateProjectLabelSetByLabelSetTemplate($input: UpdateProjectLabelSetByLabelSetTemplateInput!) {
updateProjectLabelSetByLabelSetTemplate(input: $input) {
id
name
index
signature
tagItems {
id
parentId
tagName
desc
color
type
arrowRules {
...LabelClassArrowRuleFragment
}
}
lastUsedBy {
projectId
name
}
arrowLabelRequired
leafOnlyOption
}
}
Variables
{"input": UpdateProjectLabelSetByLabelSetTemplateInput}
Response
{
"data": {
"updateProjectLabelSetByLabelSetTemplate": {
"id": "4",
"name": "xyz789",
"index": 987,
"signature": "xyz789",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": true,
"leafOnlyOption": true
}
}
}
updateProjectMetadataItem
Description
Updates a specified metadata item by its' ID. Both the key and value can be updated using a single mutation
Response
Returns a ProjectMetadataItem!
Arguments
Name | Description |
---|---|
input - UpdateProjectMetadataItemInput!
|
Example
Query
mutation UpdateProjectMetadataItem($input: UpdateProjectMetadataItemInput!) {
updateProjectMetadataItem(input: $input) {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
}
Variables
{"input": UpdateProjectMetadataItemInput}
Response
{
"data": {
"updateProjectMetadataItem": {
"id": 4,
"teamId": "4",
"creatorId": 4,
"key": "xyz789",
"value": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
updateProjectSettings
Response
Returns a Project!
Arguments
Name | Description |
---|---|
input - UpdateProjectSettingsInput!
|
Example
Query
mutation UpdateProjectSettings($input: UpdateProjectSettingsInput!) {
updateProjectSettings(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": UpdateProjectSettingsInput}
Response
{
"data": {
"updateProjectSettings": {
"id": "4",
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "abc123",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"isOwnerMe": true,
"isReviewByMeAllowed": true,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 123
}
}
}
updateProjectTemplate
Description
Updates a project template by id.
Returns the old ProjectTemplate
structure.
To update a project template and obtain the new ProjectTemplateV2
structure, use updateProjectTemplateV2
instead.
Response
Returns a ProjectTemplate!
Arguments
Name | Description |
---|---|
input - UpdateProjectTemplateInput!
|
Example
Query
mutation UpdateProjectTemplate($input: UpdateProjectTemplateInput!) {
updateProjectTemplate(input: $input) {
id
name
teamId
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"input": UpdateProjectTemplateInput}
Response
{
"data": {
"updateProjectTemplate": {
"id": 4,
"name": "xyz789",
"teamId": "4",
"team": Team,
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": 4,
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "xyz789",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": 4
}
}
}
updateProjectTemplateV2
Description
Updates a project template by id.
Response
Returns a ProjectTemplateV2!
Arguments
Name | Description |
---|---|
input - UpdateProjectTemplateInput!
|
Example
Query
mutation UpdateProjectTemplateV2($input: UpdateProjectTemplateInput!) {
updateProjectTemplateV2(input: $input) {
id
name
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"input": UpdateProjectTemplateInput}
Response
{
"data": {
"updateProjectTemplateV2": {
"id": "4",
"name": "xyz789",
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": "4",
"type": "CUSTOM",
"description": "abc123",
"imagePreviewURL": "abc123",
"videoURL": "xyz789"
}
}
}
updateProjectTemplatesOrdering
Response
Returns [ProjectTemplate!]!
Arguments
Name | Description |
---|---|
ids - [ID!]!
|
Example
Query
mutation UpdateProjectTemplatesOrdering($ids: [ID!]!) {
updateProjectTemplatesOrdering(ids: $ids) {
id
name
teamId
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
logoURL
projectTemplateProjectSettingId
projectTemplateTextDocumentSettingId
projectTemplateProjectSetting {
autoMarkDocumentAsComplete
enableEditLabelSet
enableEditSentence
enableLabelerProjectCompletionNotificationThreshold
enableReviewerEditSentence
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
shouldConfirmUnusedLabelSetItems
labelerProjectCompletionNotificationThreshold
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
}
projectTemplateTextDocumentSetting {
customScriptId
fileTransformerId
customTextExtractionAPIId
sentenceSeparator
mediaDisplayStrategy
enableTabularMarkdownParsing
firstRowAsHeader
displayedRows
kind
kinds
allTokensMustBeLabeled
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
textLabelMaxTokenLength
ocrMethod
transcriptMethod
ocrProvider
autoScrollWhenLabeling
tokenizer
editSentenceTokenizer
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
}
labelSetTemplates {
id
name
owner {
...UserFragment
}
type
items {
...LabelSetTemplateItemFragment
}
count
createdAt
updatedAt
leafOnlyOption
}
questionSets {
name
id
creator {
...UserFragment
}
items {
...QuestionSetItemFragment
}
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"ids": [4]}
Response
{
"data": {
"updateProjectTemplatesOrdering": [
{
"id": 4,
"name": "xyz789",
"teamId": 4,
"team": Team,
"logoURL": "xyz789",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "xyz789",
"updatedAt": "xyz789",
"purpose": "LABELING",
"creatorId": "4"
}
]
}
}
updateProjectsTags
Response
Returns [Project!]!
Arguments
Name | Description |
---|---|
input - [UpdateProjectTagsInput!]!
|
Example
Query
mutation UpdateProjectsTags($input: [UpdateProjectTagsInput!]!) {
updateProjectsTags(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
teamId
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
externalObjectStorageId
rootDocumentId
assignees {
teamMember {
...TeamMemberFragment
}
documentIds
documents {
...TextDocumentFragment
}
role
createdAt
updatedAt
}
name
tags {
id
name
globalTag
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
autoMarkDocumentAsComplete
consensus
conflictResolution {
...ConflictResolutionFragment
}
dynamicReviewMethod
dynamicReviewMemberId
enableEditLabelSet
enableReviewerEditSentence
enableReviewerInsertSentence
enableReviewerDeleteSentence
enableEditSentence
enableInsertSentence
enableDeleteSentence
enableDirectBBoxEditing
enableEnforceAutoLabelReviewerSettings
enableRapidLabelingFeedback
hideLabelerNamesDuringReview
hideLabelsFromInactiveLabelSetDuringReview
hideOriginalSentencesDuringReview
hideRejectedLabelsDuringReview
labelerProjectCompletionNotification {
...LabelerProjectCompletionNotificationFragment
}
selfAssignmentLimit {
...SelfAssignmentLimitFragment
}
shouldConfirmUnusedLabelSetItems
spotChecking {
...SpotCheckingFragment
}
}
workspaceSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
asrProvider
kinds
sentenceSeparator
displayedRows
mediaDisplayStrategy
tokenizer
firstRowAsHeader
transcriptMethod
ocrProvider
customScriptId
fileTransformerId
customTextExtractionAPIId
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
status
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
selfLabelingStatus
purpose
rootCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
reviewCabinet {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
labelerCabinets {
id
documents
role
status
lastOpenedDocumentId
statistic {
...CabinetStatisticFragment
}
owner {
...UserFragment
}
createdAt
}
guideline {
id
name
content
project {
...ProjectFragment
}
}
isArchived
projectMetadataItems {
id
teamId
creatorId
key
value
createdAt
updatedAt
}
availableDocumentsCount
}
}
Variables
{"input": [UpdateProjectTagsInput]}
Response
{
"data": {
"updateProjectsTags": [
{
"id": "4",
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "xyz789",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "abc123",
"isOwnerMe": true,
"isReviewByMeAllowed": false,
"settings": ProjectSettings,
"workspaceSettings": WorkspaceSettings,
"reviewingStatus": ReviewingStatus,
"labelingStatus": [LabelingStatus],
"status": "CREATED",
"performance": ProjectPerformance,
"selfLabelingStatus": "NOT_STARTED",
"purpose": "LABELING",
"rootCabinet": Cabinet,
"reviewCabinet": Cabinet,
"labelerCabinets": [Cabinet],
"guideline": Guideline,
"isArchived": true,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
]
}
}
updateQuestionSet
Response
Returns a QuestionSet!
Arguments
Name | Description |
---|---|
input - UpdateQuestionSetInput!
|
Example
Query
mutation UpdateQuestionSet($input: UpdateQuestionSetInput!) {
updateQuestionSet(input: $input) {
name
id
creator {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
items {
id
index
questionSetId
label
type
hint
multipleAnswer
required
bindToColumn
activationConditionLogic
createdAt
updatedAt
options {
...DropdownConfigOptionsFragment
}
leafOptionsOnly
format
defaultValue
max
min
theme
gradientColors
step
hideScaleLabel
multiline
maxLength
minLength
pattern
customScript {
...CustomScriptFragment
}
nestedQuestions {
...QuestionSetItemFragment
}
parentId
}
createdAt
updatedAt
}
}
Variables
{"input": UpdateQuestionSetInput}
Response
{
"data": {
"updateQuestionSet": {
"name": "abc123",
"id": 4,
"creator": User,
"items": [QuestionSetItem],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
updateQuestionSetTemplate
Response
Returns a QuestionSetTemplate!
Arguments
Name | Description |
---|---|
teamId - ID!
|
|
id - ID!
|
|
input - QuestionSetTemplateInput
|
Example
Query
mutation UpdateQuestionSetTemplate(
$teamId: ID!,
$id: ID!,
$input: QuestionSetTemplateInput
) {
updateQuestionSetTemplate(
teamId: $teamId,
id: $id,
input: $input
) {
id
teamId
name
template
createdAt
updatedAt
}
}
Variables
{
"teamId": "4",
"id": "4",
"input": QuestionSetTemplateInput
}
Response
{
"data": {
"updateQuestionSetTemplate": {
"id": "4",
"teamId": 4,
"name": "xyz789",
"template": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
updateReversedLabels
Response
Returns a ReversedLabelsJob!
Arguments
Name | Description |
---|---|
input - ReversedLabelsOperationInput!
|
Example
Query
mutation UpdateReversedLabels($input: ReversedLabelsOperationInput!) {
updateReversedLabels(input: $input) {
job {
id
status
progress
errors {
...JobErrorFragment
}
resultId
result
createdAt
updatedAt
additionalData {
...JobAdditionalDataFragment
}
}
}
}
Variables
{"input": ReversedLabelsOperationInput}
Response
{"data": {"updateReversedLabels": {"job": Job}}}
updateReviewDocumentMetas
Response
Returns [DocumentMeta!]!
Arguments
Name | Description |
---|---|
input - UpdateReviewDocumentMetasInput
|
Example
Query
mutation UpdateReviewDocumentMetas($input: UpdateReviewDocumentMetasInput) {
updateReviewDocumentMetas(input: $input) {
id
cabinetId
name
width
displayed
labelerRestricted
rowQuestionIndex
}
}
Variables
{"input": UpdateReviewDocumentMetasInput}
Response
{
"data": {
"updateReviewDocumentMetas": [
{
"id": 123,
"cabinetId": 123,
"name": "xyz789",
"width": "abc123",
"displayed": true,
"labelerRestricted": true,
"rowQuestionIndex": 987
}
]
}
}
updateRowAnswers
Response
Returns an UpdateRowAnswersResult!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
line - Int!
|
|
answers - AnswerScalar!
|
|
questionSetSignature - String
|
Example
Query
mutation UpdateRowAnswers(
$documentId: ID!,
$line: Int!,
$answers: AnswerScalar!,
$questionSetSignature: String
) {
updateRowAnswers(
documentId: $documentId,
line: $line,
answers: $answers,
questionSetSignature: $questionSetSignature
) {
document {
id
chunks {
...TextChunkFragment
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
...TextDocumentSettingsFragment
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
...TextSentenceFragment
}
settings {
...SettingsFragment
}
statistic {
...TextDocumentStatisticFragment
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
...TextChunkFragment
}
updatedTokenLabels {
...TextLabelFragment
}
url
version
workspaceState {
...WorkspaceStateFragment
}
originId
signature
part
}
previousAnswers {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
updatedAnswers {
documentId
line
answers
metadata {
...AnswerMetadataFragment
}
updatedAt
}
}
}
Variables
{
"documentId": 4,
"line": 987,
"answers": AnswerScalar,
"questionSetSignature": "xyz789"
}
Response
{
"data": {
"updateRowAnswers": {
"document": TextDocument,
"previousAnswers": RowAnswer,
"updatedAnswers": RowAnswer
}
}
}
updateRowQuestion
Description
WARNING: This mutation will remove all answers, please treat it carefully. It's recommended to call this mutation only if there are no answers yet on the project.
Response
Returns a Question!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - QuestionInput!
|
|
signature - String
|
Example
Query
mutation UpdateRowQuestion(
$projectId: ID!,
$input: QuestionInput!,
$signature: String
) {
updateRowQuestion(
projectId: $projectId,
input: $input,
signature: $signature
) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{
"projectId": 4,
"input": QuestionInput,
"signature": "abc123"
}
Response
{
"data": {
"updateRowQuestion": {
"id": 987,
"internalId": "xyz789",
"type": "DROPDOWN",
"name": "xyz789",
"label": "xyz789",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
}
}
updateRowQuestions
Description
WARNING: This mutation will remove all answers, please treat it carefully. It's recommended to call this mutation only if there are no answers yet on the project.
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
projectId - ID!
|
|
input - [QuestionInput!]!
|
|
signature - String
|
Example
Query
mutation UpdateRowQuestions(
$projectId: ID!,
$input: [QuestionInput!]!,
$signature: String
) {
updateRowQuestions(
projectId: $projectId,
input: $input,
signature: $signature
) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{
"projectId": "4",
"input": [QuestionInput],
"signature": "abc123"
}
Response
{
"data": {
"updateRowQuestions": [
{
"id": 123,
"internalId": "xyz789",
"type": "DROPDOWN",
"name": "xyz789",
"label": "abc123",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"targetEntity": "xyz789"
}
]
}
}
updateScim
Response
Returns a Scim!
Arguments
Name | Description |
---|---|
input - UpdateScimInput!
|
Example
Query
mutation UpdateScim($input: UpdateScimInput!) {
updateScim(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
samlTenant {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
...TeamFragment
}
allowMembersToSetPassword
}
active
}
}
Variables
{"input": UpdateScimInput}
Response
{
"data": {
"updateScim": {
"id": 4,
"team": Team,
"samlTenant": SamlTenant,
"active": false
}
}
}
updateScimGroups
Response
Returns [ScimGroup!]!
Arguments
Name | Description |
---|---|
input - ScimGroupInput!
|
Example
Query
mutation UpdateScimGroups($input: ScimGroupInput!) {
updateScimGroups(input: $input) {
id
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
scim {
id
team {
...TeamFragment
}
samlTenant {
...SamlTenantFragment
}
active
}
groupName
role
}
}
Variables
{"input": ScimGroupInput}
Response
{
"data": {
"updateScimGroups": [
{
"id": "4",
"team": Team,
"scim": Scim,
"groupName": "abc123",
"role": "LABELER"
}
]
}
}
updateSentenceConflict
Response
Returns an UpdateSentenceConflictResult!
Example
Query
mutation UpdateSentenceConflict(
$textDocumentId: ID!,
$signature: String!,
$sentenceId: Int!,
$resolved: Boolean!,
$labelerId: Int
) {
updateSentenceConflict(
textDocumentId: $textDocumentId,
signature: $signature,
sentenceId: $sentenceId,
resolved: $resolved,
labelerId: $labelerId
) {
cell {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
labels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
addedLabels {
id
documentId
labeledBy
type
hashCode
labeledByUserId
acceptedByUserId
rejectedByUserId
}
deletedLabels {
id
documentId
labeledBy
type
hashCode
labeledByUserId
acceptedByUserId
rejectedByUserId
}
}
}
Variables
{
"textDocumentId": 4,
"signature": "xyz789",
"sentenceId": 123,
"resolved": false,
"labelerId": 987
}
Response
{
"data": {
"updateSentenceConflict": {
"cell": Cell,
"labels": [TextLabel],
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable]
}
}
}
updateTag
Response
Returns a Tag!
Arguments
Name | Description |
---|---|
input - UpdateTagInput!
|
Example
Query
mutation UpdateTag($input: UpdateTagInput!) {
updateTag(input: $input) {
id
name
globalTag
}
}
Variables
{"input": UpdateTagInput}
Response
{
"data": {
"updateTag": {
"id": "4",
"name": "abc123",
"globalTag": true
}
}
}
updateTeam
Response
Returns a Team!
Arguments
Name | Description |
---|---|
input - UpdateTeamInput!
|
Example
Query
mutation UpdateTeam($input: UpdateTeamInput!) {
updateTeam(input: $input) {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Variables
{"input": UpdateTeamInput}
Response
{
"data": {
"updateTeam": {
"id": "4",
"logoURL": "xyz789",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": true,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
updateTeamMemberTeamRole
Response
Returns a TeamMember
Arguments
Name | Description |
---|---|
input - UpdateTeamMemberTeamRoleInput!
|
Example
Query
mutation UpdateTeamMemberTeamRole($input: UpdateTeamMemberTeamRoleInput!) {
updateTeamMemberTeamRole(input: $input) {
id
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
role {
id
name
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
id
userId
projectStatistic {
...TeamMemberProjectStatisticFragment
}
totalTimeSpent
effectiveTotalTimeSpent
accuracy
}
labelingAgent {
id
agentId
agentType
name
}
labelingAgentId
}
}
Variables
{"input": UpdateTeamMemberTeamRoleInput}
Response
{
"data": {
"updateTeamMemberTeamRole": {
"id": 4,
"user": User,
"role": TeamRole,
"invitationEmail": "abc123",
"invitationStatus": "xyz789",
"invitationKey": "xyz789",
"isDeleted": true,
"joinedDate": "xyz789",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": "4"
}
}
}
updateTeamSetting
Response
Returns a Team!
Arguments
Name | Description |
---|---|
input - UpdateTeamSettingInput!
|
Example
Query
mutation UpdateTeamSetting($input: UpdateTeamSettingInput!) {
updateTeamSetting(input: $input) {
id
logoURL
members {
id
user {
...UserFragment
}
role {
...TeamRoleFragment
}
invitationEmail
invitationStatus
invitationKey
isDeleted
joinedDate
performance {
...TeamMemberPerformanceFragment
}
labelingAgent {
...LabelingAgentFragment
}
labelingAgentId
}
membersScalar
name
setting {
activitySettings {
...TeamActivitySettingsFragment
}
additionalSetting {
...AdditionalTeamSettingFragment
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enableActions
enableAddDocumentsToProject
enableDemo
enableDataProgramming
enableLabelingFunctionMultipleLabel
enableDatasaurAssistRowBased
enableDatasaurDinamicTokenBased
enableDatasaurPredictiveRowBased
enableLabelingAgentSpanBased
enableWipeData
enableExportTeamOverview
enableSelfAssignment
enableTransferOwnership
enableLabelErrorDetectionRowBased
allowedExtraAutoLabelProviders
enableLLMProject
enableRegexSentenceSeparator
enableTeamRoleSupervisor
endExtensionTrialAt
allowInvalidPaymentMethod
enableExternalKnowledgeBase
enableForceAnonymization
enableReviewIndicator
enableValidationScript
enableSpanLabelingWithRowQuestions
llmFreeTrialDailyLimitsConfig {
...LlmFreeTrialDailyLimitsConfigFragment
}
enableScriptGeneratedQuestion
rowModification {
...RowModificationSettingFragment
}
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Variables
{"input": UpdateTeamSettingInput}
Response
{
"data": {
"updateTeamSetting": {
"id": 4,
"logoURL": "abc123",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": true,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
updateTenant
Response
Returns a SamlTenant!
Arguments
Name | Description |
---|---|
input - UpdateSamlTenantInput!
|
Example
Query
mutation UpdateTenant($input: UpdateSamlTenantInput!) {
updateTenant(input: $input) {
id
active
companyId
idpIssuer
idpUrl
spIssuer
team {
id
logoURL
members {
...TeamMemberFragment
}
membersScalar
name
setting {
...TeamSettingFragment
}
owner {
...UserFragment
}
isExpired
expiredAt
}
allowMembersToSetPassword
}
}
Variables
{"input": UpdateSamlTenantInput}
Response
{
"data": {
"updateTenant": {
"id": "4",
"active": false,
"companyId": "4",
"idpIssuer": "xyz789",
"idpUrl": "xyz789",
"spIssuer": "abc123",
"team": Team,
"allowMembersToSetPassword": true
}
}
}
updateTextDocument
Description
Updates a specific document.
Response
Returns a TextDocument!
Arguments
Name | Description |
---|---|
input - UpdateTextDocumentInput!
|
Example
Query
mutation UpdateTextDocument($input: UpdateTextDocumentInput!) {
updateTextDocument(input: $input) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"input": UpdateTextDocumentInput}
Response
{
"data": {
"updateTextDocument": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"completedByUserId": 4,
"lastSavedAt": "abc123",
"mimeType": "xyz789",
"name": "abc123",
"projectId": 4,
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4,
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": "4",
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "abc123",
"version": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 123
}
}
}
updateTextDocumentSettings
Response
Returns a TextDocumentSettings!
Arguments
Name | Description |
---|---|
input - UpdateTextDocumentSettingsInput
|
Example
Query
mutation UpdateTextDocumentSettings($input: UpdateTextDocumentSettingsInput) {
updateTextDocumentSettings(input: $input) {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
urlColumnNames
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
name
pattern
flags
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
}
Variables
{"input": UpdateTextDocumentSettingsInput}
Response
{
"data": {
"updateTextDocumentSettings": {
"id": "4",
"textLabelMaxTokenLength": 123,
"allTokensMustBeLabeled": true,
"autoScrollWhenLabeling": false,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "abc123",
"tokenizer": "xyz789",
"editSentenceTokenizer": "xyz789",
"displayedRows": 987,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": true,
"enableTabularMarkdownParsing": true,
"enableAnonymization": false,
"anonymizationEntityTypes": [
"xyz789"
],
"anonymizationMaskingMethod": "xyz789",
"anonymizationRegExps": [RegularExpression],
"fileTransformerId": "abc123",
"rowQuestionsFormValidationScriptId": 4,
"enableRowQuestionsFormValidationScript": true
}
}
}
updateTokenLabels
Response
Returns a TextDocument!
Arguments
Name | Description |
---|---|
input - UpdateTokenLabelsInput!
|
Example
Query
mutation UpdateTokenLabels($input: UpdateTokenLabelsInput!) {
updateTokenLabels(input: $input) {
id
chunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
createdAt
currentSentenceCursor
lastLabeledLine
documentSettings {
id
textLabelMaxTokenLength
allTokensMustBeLabeled
autoScrollWhenLabeling
allowArcDrawing
allowCharacterBasedLabeling
allowMultiLabels
kinds
sentenceSeparator
tokenizer
editSentenceTokenizer
displayedRows
mediaDisplayStrategy
viewer
viewerConfig {
...TextDocumentViewerConfigFragment
}
hideBoundingBoxIfNoSpanOrArrowLabel
enableTabularMarkdownParsing
enableAnonymization
anonymizationEntityTypes
anonymizationMaskingMethod
anonymizationRegExps {
...RegularExpressionFragment
}
fileTransformerId
rowQuestionsFormValidationScriptId
enableRowQuestionsFormValidationScript
}
fileName
isCompleted
completedByUserId
lastSavedAt
mimeType
name
projectId
sentences {
id
documentId
userId
status
content
tokens
posLabels {
...TextLabelFragment
}
nerLabels {
...TextLabelFragment
}
docLabels {
...DocLabelObjectFragment
}
docLabelsString
conflicts {
...ConflictTextLabelFragment
}
conflictAnswers {
...ConflictAnswerFragment
}
answers {
...AnswerFragment
}
sentenceConflict {
...SentenceConflictFragment
}
conflictAnswerResolved
metadata {
...CellMetadataFragment
}
}
settings {
textLang
}
statistic {
documentId
numberOfChunks
numberOfSentences
numberOfTokens
effectiveTimeSpent
touchedSentences
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
status
statusUpdatedByUserId
timeLimit
timeLimitScheduledCommandId
type
updatedChunks {
id
documentId
sentenceIndexStart
sentenceIndexEnd
sentences {
...TextSentenceFragment
}
}
updatedTokenLabels {
id
l
layer
deleted
hashCode
labeledBy
labeledByUser {
...UserFragment
}
labeledByUserId
acceptedByUserId
rejectedByUserId
createdAt
updatedAt
documentId
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
confidenceScore
status
}
url
version
workspaceState {
id
chunkId
sentenceStart
sentenceEnd
touchedChunks
touchedSentences
}
originId
signature
part
}
}
Variables
{"input": UpdateTokenLabelsInput}
Response
{
"data": {
"updateTokenLabels": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 987,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": false,
"completedByUserId": 4,
"lastSavedAt": "xyz789",
"mimeType": "abc123",
"name": "xyz789",
"projectId": 4,
"sentences": [TextSentence],
"settings": Settings,
"statistic": TextDocumentStatistic,
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4,
"timeLimit": "2007-12-03T10:15:30Z",
"timeLimitScheduledCommandId": 4,
"type": "POS",
"updatedChunks": [TextChunk],
"updatedTokenLabels": [TextLabel],
"url": "abc123",
"version": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "abc123",
"part": 987
}
}
}
updateUserInfo
Response
Returns a User
Arguments
Name | Description |
---|---|
input - UpdateUserInfoInput!
|
Example
Query
mutation UpdateUserInfo($input: UpdateUserInfoInput!) {
updateUserInfo(input: $input) {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
utmSource
utmMedium
utmCampaign
}
}
}
Variables
{"input": UpdateUserInfoInput}
Response
{
"data": {
"updateUserInfo": {
"id": "4",
"samlId": "xyz789",
"amazonCustomerId": "xyz789",
"username": "abc123",
"name": "abc123",
"email": "abc123",
"package": "ENTERPRISE",
"profilePicture": "xyz789",
"allowedActions": ["AUTOMATED_TEST"],
"displayName": "abc123",
"teamPackage": "ENTERPRISE",
"emailVerified": false,
"totpAuthEnabled": false,
"companyName": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"signUpParams": SignUpParams
}
}
}
uploadGuideline
Response
Returns a Guideline!
Arguments
Name | Description |
---|---|
input - UploadGuidelineInput!
|
Example
Query
mutation UploadGuideline($input: UploadGuidelineInput!) {
uploadGuideline(input: $input) {
id
name
content
project {
id
team {
...TeamFragment
}
teamId
owner {
...UserFragment
}
externalObjectStorageId
rootDocumentId
assignees {
...ProjectAssignmentFragment
}
name
tags {
...TagFragment
}
type
createdDate
completedDate
exportedDate
updatedDate
isOwnerMe
isReviewByMeAllowed
settings {
...ProjectSettingsFragment
}
workspaceSettings {
...WorkspaceSettingsFragment
}
reviewingStatus {
...ReviewingStatusFragment
}
labelingStatus {
...LabelingStatusFragment
}
status
performance {
...ProjectPerformanceFragment
}
selfLabelingStatus
purpose
rootCabinet {
...CabinetFragment
}
reviewCabinet {
...CabinetFragment
}
labelerCabinets {
...CabinetFragment
}
guideline {
...GuidelineFragment
}
isArchived
projectMetadataItems {
...ProjectMetadataItemFragment
}
availableDocumentsCount
}
}
}
Variables
{"input": UploadGuidelineInput}
Response
{
"data": {
"uploadGuideline": {
"id": "4",
"name": "xyz789",
"content": "xyz789",
"project": Project
}
}
}
uploadLlmApplicationPlaygroundPromptMessages
Response
Arguments
Name | Description |
---|---|
input - UploadLlmApplicationPlaygroundPromptMessagesInput!
|
Example
Query
mutation UploadLlmApplicationPlaygroundPromptMessages($input: UploadLlmApplicationPlaygroundPromptMessagesInput!) {
uploadLlmApplicationPlaygroundPromptMessages(input: $input) {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
id
llmFileId
llmFile {
...LlmFileFragment
}
createdAt
updatedAt
llmApplicationPlaygroundPromptMessageId
}
createdAt
updatedAt
}
}
Variables
{
"input": UploadLlmApplicationPlaygroundPromptMessagesInput
}
Response
{
"data": {
"uploadLlmApplicationPlaygroundPromptMessages": [
{
"id": "4",
"llmApplicationPlaygroundPromptId": "4",
"content": "abc123",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachment
],
"createdAt": "xyz789",
"updatedAt": "abc123"
}
]
}
}
upsertBBoxLabels
Response
Returns [BBoxLabel!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
labels - [BBoxLabelInput!]!
|
Example
Query
mutation UpsertBBoxLabels(
$documentId: ID!,
$labels: [BBoxLabelInput!]!
) {
upsertBBoxLabels(
documentId: $documentId,
labels: $labels
) {
id
documentId
bboxLabelClassId
deleted
caption
shapes {
pageIndex
points {
...BBoxPointFragment
}
}
answers
}
}
Variables
{"documentId": 4, "labels": [BBoxLabelInput]}
Response
{
"data": {
"upsertBBoxLabels": [
{
"id": 4,
"documentId": 4,
"bboxLabelClassId": "4",
"deleted": false,
"caption": "xyz789",
"shapes": [BBoxShape],
"answers": AnswerScalar
}
]
}
}
upsertBoundingBox
Response
Returns [BoundingBoxLabel!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
labels - [BoundingBoxLabelInput!]!
|
Example
Query
mutation UpsertBoundingBox(
$documentId: ID!,
$labels: [BoundingBoxLabelInput!]!
) {
upsertBoundingBox(
documentId: $documentId,
labels: $labels
) {
id
documentId
coordinates {
x
y
}
counter
pageIndex
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
hashCode
type
labeledBy
}
}
Variables
{"documentId": 4, "labels": [BoundingBoxLabelInput]}
Response
{
"data": {
"upsertBoundingBox": [
{
"id": "4",
"documentId": "4",
"coordinates": [Coordinate],
"counter": 987,
"pageIndex": 987,
"layer": 987,
"position": TextRange,
"hashCode": "abc123",
"type": "ARROW",
"labeledBy": "PRELABELED"
}
]
}
}
upsertLabelErrorDetectionRowBasedSuggestions
Response
Arguments
Name | Description |
---|---|
input - UpsertLabelErrorDetectionRowBasedSuggestionInput!
|
Example
Query
mutation UpsertLabelErrorDetectionRowBasedSuggestions($input: UpsertLabelErrorDetectionRowBasedSuggestionInput!) {
upsertLabelErrorDetectionRowBasedSuggestions(input: $input) {
id
documentId
labelErrorDetectionId
line
errorPossibility
suggestedLabel
previousLabel
createdAt
updatedAt
}
}
Variables
{
"input": UpsertLabelErrorDetectionRowBasedSuggestionInput
}
Response
{
"data": {
"upsertLabelErrorDetectionRowBasedSuggestions": [
{
"id": "4",
"documentId": "4",
"labelErrorDetectionId": 4,
"line": 123,
"errorPossibility": 123.45,
"suggestedLabel": "abc123",
"previousLabel": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
]
}
}
upsertLlmApplicationDeployment
Response
Returns a LlmApplicationDeployment!
Arguments
Name | Description |
---|---|
input - LlmApplicationDeploymentInput!
|
Example
Query
mutation UpsertLlmApplicationDeployment($input: LlmApplicationDeploymentInput!) {
upsertLlmApplicationDeployment(input: $input) {
id
deployedByUser {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
llmApplicationId
llmApplication {
id
teamId
createdByUser {
...UserFragment
}
name
status
createdAt
updatedAt
llmApplicationDeployment {
...LlmApplicationDeploymentFragment
}
totalRagConfigs
}
llmRagConfig {
id
llmModel {
...LlmModelFragment
}
systemInstruction
userInstruction
raw
temperature
topP
maxTokens
advancedHyperparameters
maxVectorStoreTokens
llmVectorStore {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
createdAt
updatedAt
}
numberOfCalls
numberOfTokens
numberOfInputTokens
numberOfOutputTokens
deployedAt
name
status
createdAt
updatedAt
apiEndpoints {
type
endpoint
}
isDeleted
}
}
Variables
{"input": LlmApplicationDeploymentInput}
Response
{
"data": {
"upsertLlmApplicationDeployment": {
"id": 4,
"deployedByUser": User,
"llmApplicationId": "4",
"llmApplication": LlmApplication,
"llmRagConfig": LlmRagConfig,
"numberOfCalls": 987,
"numberOfTokens": 987,
"numberOfInputTokens": 123,
"numberOfOutputTokens": 987,
"deployedAt": "xyz789",
"name": "xyz789",
"status": "SUSPENDED",
"createdAt": "xyz789",
"updatedAt": "abc123",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": false
}
}
}
upsertLlmApplicationPlaygroundPromptMessages
Response
Arguments
Name | Description |
---|---|
input - UpsertLlmApplicationPlaygroundPromptMessageInput!
|
Example
Query
mutation UpsertLlmApplicationPlaygroundPromptMessages($input: UpsertLlmApplicationPlaygroundPromptMessageInput!) {
upsertLlmApplicationPlaygroundPromptMessages(input: $input) {
id
llmApplicationPlaygroundPromptId
content
role
attachments {
id
llmFileId
llmFile {
...LlmFileFragment
}
createdAt
updatedAt
llmApplicationPlaygroundPromptMessageId
}
createdAt
updatedAt
}
}
Variables
{
"input": UpsertLlmApplicationPlaygroundPromptMessageInput
}
Response
{
"data": {
"upsertLlmApplicationPlaygroundPromptMessages": [
{
"id": "4",
"llmApplicationPlaygroundPromptId": 4,
"content": "xyz789",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachment
],
"createdAt": "xyz789",
"updatedAt": "abc123"
}
]
}
}
upsertLlmManualEvaluationScores
Description
Upserts the LLM evaluation scores.
Response
Returns [LlmEvaluationAnswerScore!]!
Arguments
Name | Description |
---|---|
input - UpsertLlmManualEvaluationScoreInput!
|
Example
Query
mutation UpsertLlmManualEvaluationScores($input: UpsertLlmManualEvaluationScoreInput!) {
upsertLlmManualEvaluationScores(input: $input) {
id
llmEvaluationEvaluatorId
llmEvaluationGeneratedAnswerId
score
reason
alertExpression
createdAt
updatedAt
isDeleted
}
}
Variables
{"input": UpsertLlmManualEvaluationScoreInput}
Response
{
"data": {
"upsertLlmManualEvaluationScores": [
{
"id": "4",
"llmEvaluationEvaluatorId": "4",
"llmEvaluationGeneratedAnswerId": "4",
"score": 987.65,
"reason": "abc123",
"alertExpression": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"isDeleted": true
}
]
}
}
upsertLlmVectorStoreAnswers
Response
Returns a LlmVectorStoreAnswer!
Arguments
Name | Description |
---|---|
llmVectorStoreDocumentId - ID!
|
|
answers - AnswerScalar!
|
Example
Query
mutation UpsertLlmVectorStoreAnswers(
$llmVectorStoreDocumentId: ID!,
$answers: AnswerScalar!
) {
upsertLlmVectorStoreAnswers(
llmVectorStoreDocumentId: $llmVectorStoreDocumentId,
answers: $answers
) {
llmVectorStoreDocumentId
answers
updatedAt
}
}
Variables
{
"llmVectorStoreDocumentId": "4",
"answers": AnswerScalar
}
Response
{
"data": {
"upsertLlmVectorStoreAnswers": {
"llmVectorStoreDocumentId": 4,
"answers": AnswerScalar,
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
upsertLlmVectorStoreQuestions
Response
Returns [Question!]!
Arguments
Name | Description |
---|---|
input - UpsertLlmVectorStoreQuestionsInput!
|
Example
Query
mutation UpsertLlmVectorStoreQuestions($input: UpsertLlmVectorStoreQuestionsInput!) {
upsertLlmVectorStoreQuestions(input: $input) {
id
internalId
type
name
label
required
config {
defaultValue
format
multiple
multiline
options {
...QuestionConfigOptionsFragment
}
leafOptionsOnly
questions {
...QuestionFragment
}
minLength
maxLength
pattern
theme
gradientColors
min
max
step
hint
hideScaleLabel
customScript {
...CustomScriptFragment
}
}
bindToColumn
activationConditionLogic
targetEntity
}
}
Variables
{"input": UpsertLlmVectorStoreQuestionsInput}
Response
{
"data": {
"upsertLlmVectorStoreQuestions": [
{
"id": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "xyz789",
"required": false,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"activationConditionLogic": "xyz789",
"targetEntity": "abc123"
}
]
}
}
upsertOauthClient
Description
Updates the oauth client.
Response
Returns an UpsertOauthClientResult
Example
Query
mutation UpsertOauthClient {
upsertOauthClient {
id
secret
}
}
Response
{
"data": {
"upsertOauthClient": {
"id": "xyz789",
"secret": "abc123"
}
}
}
upsertTeamExternalApiKey
Response
Returns a TeamExternalApiKey!
Arguments
Name | Description |
---|---|
input - TeamExternalApiKeyInput!
|
Example
Query
mutation UpsertTeamExternalApiKey($input: TeamExternalApiKeyInput!) {
upsertTeamExternalApiKey(input: $input) {
id
teamId
credentials {
provider
isConnected
openAIKey
azureOpenAIKey
azureOpenAIEndpoint
azureAIClientId
azureAICertificate
azureAITenantId
azureAISubscriptionId
azureAIResourceGroupName
azureAIAccountName
awsSagemakerRegion
awsSagemakerExternalId
awsSagemakerRoleArn
awsBedrockRegion
awsBedrockExternalId
awsBedrockRoleArn
vertexAiClientEmail
vertexAiPrivateKey
vertexAiProjectId
vertexAiRegion
}
createdAt
updatedAt
}
}
Variables
{"input": TeamExternalApiKeyInput}
Response
{
"data": {
"upsertTeamExternalApiKey": {
"id": 4,
"teamId": 4,
"credentials": [TeamExternalApiKeyCredential],
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
upsertTimestampLabels
Response
Returns [TimestampLabel!]!
Arguments
Name | Description |
---|---|
documentId - ID!
|
|
labels - [TimestampLabelInput!]!
|
Example
Query
mutation UpsertTimestampLabels(
$documentId: ID!,
$labels: [TimestampLabelInput!]!
) {
upsertTimestampLabels(
documentId: $documentId,
labels: $labels
) {
id
documentId
layer
position {
start {
...TextCursorFragment
}
end {
...TextCursorFragment
}
}
startTimestampMillis
endTimestampMillis
type
}
}
Variables
{
"documentId": "4",
"labels": [TimestampLabelInput]
}
Response
{
"data": {
"upsertTimestampLabels": [
{
"id": 4,
"documentId": 4,
"layer": 987,
"position": TextRange,
"startTimestampMillis": 123,
"endTimestampMillis": 123,
"type": "ARROW"
}
]
}
}
useRagConfigInSandbox
Response
Returns an ID!
Arguments
Name | Description |
---|---|
input - UseRagConfigInSandboxInput!
|
Example
Query
mutation UseRagConfigInSandbox($input: UseRagConfigInSandboxInput!) {
useRagConfigInSandbox(input: $input)
}
Variables
{"input": UseRagConfigInSandboxInput}
Response
{"data": {"useRagConfigInSandbox": "4"}}
useVectorStoreInLlmApplication
Response
Returns an ID!
Arguments
Name | Description |
---|---|
input - UseVectorStoreInLlmApplicationInput!
|
Example
Query
mutation UseVectorStoreInLlmApplication($input: UseVectorStoreInLlmApplicationInput!) {
useVectorStoreInLlmApplication(input: $input)
}
Variables
{"input": UseVectorStoreInLlmApplicationInput}
Response
{"data": {"useVectorStoreInLlmApplication": 4}}
verifyTotp
Response
Returns a LoginSuccess!
Arguments
Name | Description |
---|---|
totpCode - TotpCodeInput!
|
Example
Query
mutation VerifyTotp($totpCode: TotpCodeInput!) {
verifyTotp(totpCode: $totpCode) {
user {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
redirect
}
}
Variables
{"totpCode": TotpCodeInput}
Response
{
"data": {
"verifyTotp": {
"user": User,
"redirect": "abc123"
}
}
}
wipeProject
Response
Returns a Boolean!
Arguments
Name | Description |
---|---|
input - WipeProjectInput!
|
Example
Query
mutation WipeProject($input: WipeProjectInput!) {
wipeProject(input: $input)
}
Variables
{"input": WipeProjectInput}
Response
{"data": {"wipeProject": true}}
wipeProjects
Response
Returns [String!]!
Arguments
Name | Description |
---|---|
projectIds - [String!]!
|
Example
Query
mutation WipeProjects($projectIds: [String!]!) {
wipeProjects(projectIds: $projectIds)
}
Variables
{"projectIds": ["xyz789"]}
Response
{"data": {"wipeProjects": ["abc123"]}}
Types
ASRProvider
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"OPENAI_WHISPER"
Action
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
Example
"AUTOMATED_TEST"
ActionRunDetailStatus
Values
Enum Value | Description |
---|---|
|
|
|
Example
"SUCCESS"
ActionType
Values
Enum Value | Description |
---|---|
|
Create Project Action using Project Template |
Example
"CREATE_PROJECT"
ActivityAdditionalData
ActivityEvent
Fields
Field Name | Description |
---|---|
event - ActivityEventType!
|
|
visibility - ActivityEventVisibility!
|
|
teamId - ID!
|
|
userId - ID!
|
|
userDisplayName - String!
|
|
createdAt - String!
|
|
projectId - ID
|
|
projectName - String
|
|
documentId - ID
|
|
documentType - String
|
|
documentName - String
|
|
labelAddressHashCode - String
|
|
labelType - String
|
|
bulkId - ID
|
|
additionalData - [ActivityAdditionalData!]
|
Example
{
"event": "ANSWER_SET",
"visibility": "PUBLIC",
"teamId": 4,
"userId": "4",
"userDisplayName": "abc123",
"createdAt": "xyz789",
"projectId": "4",
"projectName": "xyz789",
"documentId": 4,
"documentType": "abc123",
"documentName": "xyz789",
"labelAddressHashCode": "xyz789",
"labelType": "abc123",
"bulkId": "4",
"additionalData": [ActivityAdditionalData]
}
ActivityEventType
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ANSWER_SET"
ActivityEventVisibility
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"PUBLIC"
ActivitySuggestion
Fields
Field Name | Description |
---|---|
displayName - String!
|
|
id - ID!
|
|
groupId - LabelerGroupId
|
Example
{
"displayName": "xyz789",
"id": "4",
"groupId": "ALL"
}
ActivitySuggestionScope
Values
Enum Value | Description |
---|---|
|
|
|
Example
"PROJECT"
AddActiveDurationInput
AddDocumentsToProjectInput
Description
Input payload for addDocumentsToProject mutation.
Fields
Input Field | Description |
---|---|
projectId - String!
|
Project to be updated. |
documents - [CreateDocumentInput!]!
|
List of new documents to be added. Each new document must have a unique name, and cannot have the same name as an existing document in the project. |
documentAssignments - [DocumentAssignmentInput!]
|
Assignments for the new documents. Optional, can be edited after the documents are added. |
Example
{
"projectId": "abc123",
"documents": [CreateDocumentInput],
"documentAssignments": [DocumentAssignmentInput]
}
AddDocumentsToProjectJob
AddGroundTruthsToGroundTruthSetInput
Fields
Input Field | Description |
---|---|
id - ID!
|
|
items - [CreateGroundTruthInput!]!
|
Example
{
"id": "4",
"items": [CreateGroundTruthInput]
}
AddLabelingFunctionInput
Fields
Input Field | Description |
---|---|
dataProgrammingId - ID!
|
|
name - String!
|
|
defaultTemplateType - DefaultLabelingFunctionTemplateType
|
|
content - String
|
|
heuristicArgument - HeuristicArgumentScalar
|
|
annotatorArgument - AnnotatorArgumentScalar
|
Example
{
"dataProgrammingId": 4,
"name": "abc123",
"defaultTemplateType": "WITH_SPECIFIC_TARGET_LABEL",
"content": "abc123",
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar
}
AddLlmCustomModelInput
Example
{
"teamId": 4,
"name": "xyz789",
"displayName": "xyz789",
"url": "abc123",
"apiKey": "abc123",
"maxContextWindow": 987,
"maxTokens": 987,
"maxTemperature": 123.45,
"maxTopP": 987.65
}
AdditionalTeamSetting
Fields
Field Name | Description |
---|---|
customUploadSetting - CustomUploadSetting
|
Example
{"customUploadSetting": CustomUploadSetting}
AgentType
Values
Enum Value | Description |
---|---|
|
Example
"LLM_LABS"
AnalyticsDashboardQueryInput
Example
{
"teamId": "4",
"projectId": "4",
"userId": 4,
"teamMemberId": "4",
"labelType": "TOKEN_OR_ROW_BASED",
"calendarDate": "xyz789",
"labelSetFilter": ["xyz789"],
"labeledBy": "REVIEWER",
"tagNames": ["abc123"]
}
AnalyticsLabelType
Values
Enum Value | Description |
---|---|
|
|
|
Example
"TOKEN_OR_ROW_BASED"
AnnotatorArgumentScalar
Example
AnnotatorArgumentScalar
AnonymizationConfigInput
Fields
Input Field | Description |
---|---|
entityTypes - [String!]!
|
List of entity to masks. |
maskingMethod - String!
|
Masking method for anonymization. One of [RANDOM_CHARACTER , ASTERISK ]. |
regularExpressions - [RegularExpressionInput!]
|
Optional. List of regular expressions for getting additional PII entities to anonymize. |
Example
{
"entityTypes": ["abc123"],
"maskingMethod": "xyz789",
"regularExpressions": [RegularExpressionInput]
}
Answer
Fields
Field Name | Description |
---|---|
key - ID!
|
|
values - [AnswerObject!]
|
|
nestedAnswers - [Answer!]
|
Example
{
"key": 4,
"values": [AnswerObject],
"nestedAnswers": [Answer]
}
AnswerMetadata
Fields
Field Name | Description |
---|---|
path - String!
|
|
labeledBy - LabelPhase!
|
|
createdAt - String
|
|
updatedAt - String
|
Example
{
"path": "xyz789",
"labeledBy": "PRELABELED",
"createdAt": "abc123",
"updatedAt": "abc123"
}
AnswerMetadataInput
Fields
Input Field | Description |
---|---|
path - String!
|
|
labeledBy - LabelPhase
|
Example
{
"path": "xyz789",
"labeledBy": "PRELABELED"
}
AnswerObject
AnswerScalar
Description
Example of AnswerScalar
Given a question set with 13 root questions
- question.index=0 -> text, single answer
- question.index=1 -> text, multiple answer
- question.index=2 -> multiline text, single answer
- question.index=3 -> multiline text, multiple answer
- question.index=4 -> dropdown, multiple answer
- question.index=5 -> dropdown, single answer
- question.index=6 -> hierarchical dropdown, multiple answer
- question.index=7 -> date
- question.index=8 -> time
- question.index=9 -> checkbox
- question.index=10 -> slider
- question.index=11 -> url
- question.index=12 -> grouped attributes with 2 child questions
- question.index=13 -> text, single answer
- question.index=14 -> checkbox
The key for an AnswerScalar object is ('Q' + question.index)
So the AnswerScalar will look like this:
{
"Q0": "Short text",
"Q1": [
"Short text 1",
"Short text 2",
"Short text 3"
],
"Q2": "Longer text at line 1\nMore text at line 2",
"Q3": [
"Longer text at line 1\nMore text at line 2",
"Second longer text",
"Third longer text"
],
"Q4": [
"Option 1",
"Option 2"
],
"Q5": "Option 1",
"Q6": [
"1.2",
"3"
],
"Q7": "2022-03-08",
"Q8": "11:02:50.896",
"Q9": true,
"Q10": "6",
"Q11": "https://datasaur.ai",
"Q12": [
{
"Q13": "Nested short text, group 1",
"Q14": true
},
{
"Q13": "Nested short text, group 2",
"Q14": false
}
]
}
Example
AnswerScalar
AnswerSetConflictStatus
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"CONFLICT"
AnswerType
Values
Enum Value | Description |
---|---|
|
|
|
Example
"MULTIPLE"
AppendLabelSetTagItemsInput
Description
Parameters to add new labelset item to existing labelset.
Fields
Input Field | Description |
---|---|
labelSetId - ID!
|
Required. The labelset to modify. |
labelSetSignature - String
|
Optional. The labelset's signature. |
tagItems - [AppendTagItemInput!]!
|
Required. List of new items to add. |
arrowLabelRequired - Boolean
|
Optional. Defaults to false. |
Example
{
"labelSetId": "4",
"labelSetSignature": "abc123",
"tagItems": [AppendTagItemInput],
"arrowLabelRequired": false
}
AppendTagItemInput
Description
Representation of a new labelset item.
Fields
Input Field | Description |
---|---|
tagName - String!
|
Required. The labelset item name, shown in web UI. Note that tagName is case-insensitive, i.e. per is treated the same way as PER would. |
desc - String
|
Optional. Description of the labelset item. |
id - ID
|
Optional. Unique identifier of the labelset item. If not supplied, will be generated automatically. |
color - String
|
Optional. The labelset item color when shown in web UI. 6 digit hex string, prefixed by #. Example: #df3920. |
type - LabelClassType
|
Optional. Can be SPAN, ARROW, or ALL. Defaults to ALL. |
arrowRules - [LabelClassArrowRuleInput!]
|
Optional. Only has effect if type is ARROW. |
Example
{
"tagName": "xyz789",
"desc": "abc123",
"id": 4,
"color": "xyz789",
"type": "SPAN",
"arrowRules": [LabelClassArrowRuleInput]
}
AssignProjectInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
assignees - [ProjectAssignmentInput!]!
|
Example
{
"projectId": "4",
"assignees": [ProjectAssignmentInput]
}
AutoLabelBBoxBasedInput
Fields
Input Field | Description |
---|---|
documentId - ID!
|
Example
{"documentId": "4"}
AutoLabelBBoxBasedOutput
Fields
Field Name | Description |
---|---|
id - ID
|
|
documentId - ID!
|
|
bboxLabelClassId - ID!
|
|
caption - String
|
|
shapes - [BBoxShape!]!
|
|
confidenceScore - Float
|
|
error - AutoLabelError
|
Example
{
"id": "4",
"documentId": "4",
"bboxLabelClassId": 4,
"caption": "xyz789",
"shapes": [BBoxShape],
"confidenceScore": 123.45,
"error": AutoLabelError
}
AutoLabelDocBasedInput
Fields
Input Field | Description |
---|---|
documentId - ID!
|
Example
{"documentId": 4}
AutoLabelDocBasedOutput
Fields
Field Name | Description |
---|---|
documentId - ID!
|
|
answers - AnswerScalar!
|
Example
{"documentId": 4, "answers": AnswerScalar}
AutoLabelDocBasedProjectInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
documentId - ID!
|
|
pageRange - RangeInput
|
|
role - Role!
|
Example
{
"projectId": 4,
"documentId": "4",
"pageRange": RangeInput,
"role": "REVIEWER"
}
AutoLabelError
AutoLabelModel
Fields
Field Name | Description |
---|---|
name - String!
|
|
provider - GqlAutoLabelServiceProvider!
|
|
privacy - GqlAutoLabelModelPrivacy!
|
Example
{
"name": "abc123",
"provider": "CUSTOM",
"privacy": "PUBLIC"
}
AutoLabelModelsInput
Fields
Input Field | Description |
---|---|
documentId - ID!
|
|
kind - ProjectKind!
|
Example
{"documentId": 4, "kind": "DOCUMENT_BASED"}
AutoLabelProjectOptionsInput
Fields
Input Field | Description |
---|---|
serviceProvider - GqlAutoLabelServiceProvider
|
|
numberOfFilesPerRequest - Int!
|
Example
{"serviceProvider": "CUSTOM", "numberOfFilesPerRequest": 987}
AutoLabelReviewTextDocumentBasedOnConsensusInput
Fields
Input Field | Description |
---|---|
textDocumentId - ID!
|
Example
{"textDocumentId": 4}
AutoLabelRowBasedInput
Fields
Input Field | Description |
---|---|
documentId - ID!
|
|
inputColumns - [Int!]!
|
|
rowIdRange - RangeInput
|
Example
{
"documentId": 4,
"inputColumns": [123],
"rowIdRange": RangeInput
}
AutoLabelRowBasedOutput
Fields
Field Name | Description |
---|---|
id - Int!
|
|
label - String!
|
|
error - AutoLabelError
|
Example
{
"id": 987,
"label": "abc123",
"error": AutoLabelError
}
AutoLabelRowBasedProjectInput
AutoLabelTokenBasedInput
Fields
Input Field | Description |
---|---|
documentId - ID!
|
|
sentenceIds - [Int!]
|
|
sentenceIdRange - RangeInput
|
Example
{
"documentId": 4,
"sentenceIds": [987],
"sentenceIdRange": RangeInput
}
AutoLabelTokenBasedOutput
Fields
Field Name | Description |
---|---|
label - String!
|
|
deleted - Boolean
|
|
layer - Int
|
|
start - TextCursor!
|
|
end - TextCursor!
|
|
confidenceScore - Float
|
|
error - AutoLabelError
|
Example
{
"label": "abc123",
"deleted": false,
"layer": 123,
"start": TextCursor,
"end": TextCursor,
"confidenceScore": 123.45,
"error": AutoLabelError
}
AutoLabelTokenBasedProjectInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
labelerEmail - String!
|
|
role - Role
|
|
targetAPI - TargetApiInput!
|
|
options - AutoLabelProjectOptionsInput!
|
Example
{
"projectId": 4,
"labelerEmail": "abc123",
"role": "REVIEWER",
"targetAPI": TargetApiInput,
"options": AutoLabelProjectOptionsInput
}
AwsMarketplaceNlpFreeTrialExpiration
AwsMarketplaceSubscriptionInput
BBoxAutoLabelProvider
Values
Enum Value | Description |
---|---|
|
Example
"TESSERACT"
BBoxLabel
Fields
Field Name | Description |
---|---|
id - ID!
|
The hashCode of this label. |
documentId - ID!
|
|
bboxLabelClassId - ID!
|
|
deleted - Boolean!
|
|
caption - String
|
|
shapes - [BBoxShape!]!
|
|
answers - AnswerScalar
|
Example
{
"id": 4,
"documentId": 4,
"bboxLabelClassId": "4",
"deleted": false,
"caption": "xyz789",
"shapes": [BBoxShape],
"answers": AnswerScalar
}
BBoxLabelClass
BBoxLabelInput
Fields
Input Field | Description |
---|---|
id - ID
|
Optional. The hashCode of this label. |
documentId - ID!
|
|
bboxLabelClassId - ID!
|
|
caption - String
|
|
shapes - [BBoxShapeInput!]!
|
|
answers - AnswerScalar
|
Example
{
"id": "4",
"documentId": 4,
"bboxLabelClassId": 4,
"caption": "abc123",
"shapes": [BBoxShapeInput],
"answers": AnswerScalar
}
BBoxLabelSet
Fields
Field Name | Description |
---|---|
id - ID!
|
|
name - String!
|
|
classes - [BBoxLabelClass!]!
|
|
autoLabelProvider - BBoxAutoLabelProvider
|
Example
{
"id": 4,
"name": "abc123",
"classes": [BBoxLabelClass],
"autoLabelProvider": "TESSERACT"
}
BBoxLabelSetInput
Fields
Input Field | Description |
---|---|
id - ID!
|
|
name - String!
|
|
classes - [UpdateBBoxLabelClassInput!]!
|
|
autoLabelProvider - BBoxAutoLabelProvider
|
Example
{
"id": 4,
"name": "abc123",
"classes": [UpdateBBoxLabelClassInput],
"autoLabelProvider": "TESSERACT"
}
BBoxLabelSetProjectInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
options - [CreateBBoxLabelClassInput!]!
|
|
autoLabelProvider - BBoxAutoLabelProvider
|
Example
{
"name": "xyz789",
"options": [CreateBBoxLabelClassInput],
"autoLabelProvider": "TESSERACT"
}
BBoxPoint
BBoxPointInput
BBoxShape
Fields
Field Name | Description |
---|---|
pageIndex - Int!
|
|
points - [BBoxPoint!]!
|
Example
{"pageIndex": 987, "points": [BBoxPoint]}
BBoxShapeInput
Fields
Input Field | Description |
---|---|
pageIndex - Int!
|
|
points - [BBoxPointInput!]!
|
Example
{"pageIndex": 987, "points": [BBoxPointInput]}
Boolean
Description
The Boolean
scalar type represents true
or false
.
Example
true
BoundingBoxLabel
Fields
Field Name | Description |
---|---|
id - ID!
|
|
documentId - ID!
|
|
coordinates - [Coordinate!]!
|
|
counter - Int!
|
|
pageIndex - Int!
|
|
layer - Int!
|
|
position - TextRange!
|
|
hashCode - String!
|
|
type - LabelEntityType!
|
|
labeledBy - LabelPhase!
|
Example
{
"id": "4",
"documentId": 4,
"coordinates": [Coordinate],
"counter": 123,
"pageIndex": 987,
"layer": 123,
"position": TextRange,
"hashCode": "abc123",
"type": "ARROW",
"labeledBy": "PRELABELED"
}
BoundingBoxLabelInput
Fields
Input Field | Description |
---|---|
coordinates - [CoordinateInput!]!
|
|
counter - Int!
|
|
pageIndex - Int
|
|
layer - Int!
|
|
position - TextRangeInput!
|
|
labeledBy - LabelPhase
|
Example
{
"coordinates": [CoordinateInput],
"counter": 123,
"pageIndex": 987,
"layer": 123,
"position": TextRangeInput,
"labeledBy": "PRELABELED"
}
BoundingBoxPage
Cabinet
Fields
Field Name | Description |
---|---|
id - ID!
|
|
documents - [TextDocumentScalar!]!
|
|
role - Role!
|
|
status - CabinetStatus!
|
|
lastOpenedDocumentId - ID
|
|
statistic - CabinetStatistic
|
|
owner - User!
|
|
createdAt - DateTime!
|
Example
{
"id": 4,
"documents": [TextDocumentScalar],
"role": "REVIEWER",
"status": "IN_PROGRESS",
"lastOpenedDocumentId": 4,
"statistic": CabinetStatistic,
"owner": User,
"createdAt": "2007-12-03T10:15:30Z"
}
CabinetContributor
CabinetMatcherInput
CabinetStatistic
CabinetStatus
Values
Enum Value | Description |
---|---|
|
|
|
Example
"IN_PROGRESS"
Cell
Fields
Field Name | Description |
---|---|
line - Int!
|
|
index - Int!
|
|
content - String!
|
|
tokens - [String!]!
|
|
metadata - [CellMetadata!]!
|
|
conversationalMetadata - ConversationalMetadata
|
|
status - CellStatus!
|
|
conflict - Boolean!
|
|
conflicts - [CellConflict!]
|
|
originCell - Cell
|
Example
{
"line": 987,
"index": 123,
"content": "abc123",
"tokens": ["abc123"],
"metadata": [CellMetadata],
"conversationalMetadata": ConversationalMetadata,
"status": "DISPLAYED",
"conflict": true,
"conflicts": [CellConflict],
"originCell": Cell
}
CellConflict
Fields
Field Name | Description |
---|---|
documentId - ID!
|
|
labelerId - Int!
|
|
labelerTeamMemberId - ID
|
|
cell - Cell!
|
|
labels - [TextLabel!]!
|
Example
{
"documentId": 4,
"labelerId": 987,
"labelerTeamMemberId": 4,
"cell": Cell,
"labels": [TextLabel]
}
CellMetadata
Fields
Field Name | Description |
---|---|
key - String!
|
|
value - String!
|
|
type - String
|
|
pinned - Boolean
|
|
config - TextMetadataConfig
|
Example
{
"key": "xyz789",
"value": "xyz789",
"type": "xyz789",
"pinned": true,
"config": TextMetadataConfig
}
CellMetadataInput
CellPositionWithOriginDocumentId
CellPositionWithOriginDocumentIdInput
CellScalar
Example
CellScalar
CellStatus
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"DISPLAYED"
ChangePasswordInput
Fields
Input Field | Description |
---|---|
currentPassword - String!
|
|
newPassword - String!
|
|
confirmNewPassword - String!
|
|
totpCode - TotpCodeInput
|
Example
{
"currentPassword": "abc123",
"newPassword": "abc123",
"confirmNewPassword": "xyz789",
"totpCode": TotpCodeInput
}
Chart
Fields
Field Name | Description |
---|---|
id - ID!
|
|
name - String!
|
|
description - String!
|
|
type - ChartType!
|
|
level - ChartLevel!
|
|
set - [ChartSet!]!
|
|
dataTableHeaders - [String!]!
|
|
visualizationParams - VisualizationParams!
|
Example
{
"id": 4,
"name": "xyz789",
"description": "xyz789",
"type": "GROUPED",
"level": "TEAM",
"set": ["OLD"],
"dataTableHeaders": ["xyz789"],
"visualizationParams": VisualizationParams
}
ChartArea
ChartDataRow
Fields
Field Name | Description |
---|---|
key - String!
|
|
values - [ChartDataRowValue!]!
|
|
keyPayloadType - KeyPayloadType
|
|
keyPayload - KeyPayload
|
Example
{
"key": "abc123",
"values": [ChartDataRowValue],
"keyPayloadType": "USER",
"keyPayload": KeyPayload
}
ChartDataRowValue
ChartLevel
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"TEAM"
ChartSet
Values
Enum Value | Description |
---|---|
|
OLD is deprecated because METABASE is no longer supported. Please use ELASTIC. |
|
NEW is deprecated because METABASE is no longer supported. Please use ELASTIC. |
|
Example
"OLD"
ChartType
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"GROUPED"
ChunkConfiguration
Example
ChunkConfiguration
ClearAllLabelsOnTextDocumentResult
Fields
Field Name | Description |
---|---|
affectedChunkIds - [Int!]!
|
|
statistic - TextDocumentStatistic!
|
|
lastSavedAt - String!
|
Example
{
"affectedChunkIds": [987],
"statistic": TextDocumentStatistic,
"lastSavedAt": "abc123"
}
ColorGradient
Comment
Fields
Field Name | Description |
---|---|
id - ID!
|
|
parentId - ID
|
|
documentId - ID!
|
|
originDocumentId - ID!
|
|
userId - Int!
|
|
user - User!
|
|
message - String!
|
|
resolved - Boolean!
|
|
resolvedAt - String
|
|
resolvedBy - User
|
|
repliesCount - Int!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
lastEditedAt - String
|
|
hashCode - String
|
|
commentedContent - CommentedContent
|
Example
{
"id": "4",
"parentId": 4,
"documentId": 4,
"originDocumentId": "4",
"userId": 123,
"user": User,
"message": "abc123",
"resolved": true,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"lastEditedAt": "abc123",
"hashCode": "xyz789",
"commentedContent": CommentedContent
}
CommentNotificationType
Values
Enum Value | Description |
---|---|
|
|
|
Example
"OFF"
CommentedContent
Fields
Field Name | Description |
---|---|
hashCodeType - String!
|
|
contexts - [CommentedContentContextValue!]!
|
|
currentValue - [CommentedContentCurrentValue!]
|
Example
{
"hashCodeType": "xyz789",
"contexts": [CommentedContentContextValue],
"currentValue": [CommentedContentCurrentValue]
}
CommentedContentContextValue
CommentedContentCurrentValue
ConflictAnswer
Fields
Field Name | Description |
---|---|
questionId - ID!
|
|
parentQuestionId - ID
|
|
nestedAnswerIndex - Int
|
|
answers - [ConflictAnswerValue!]!
|
|
type - AnswerType!
|
Example
{
"questionId": "4",
"parentQuestionId": "4",
"nestedAnswerIndex": 987,
"answers": [ConflictAnswerValue],
"type": "MULTIPLE"
}
ConflictAnswerScalar
Example
ConflictAnswerScalar
ConflictAnswerValue
Fields
Field Name | Description |
---|---|
resolved - Boolean
|
|
value - String!
|
|
userIds - [ID!]!
|
|
users - [User!]!
|
|
contributorInfos - [ContributorInfo!]
|
Example
{
"resolved": true,
"value": "xyz789",
"userIds": ["4"],
"users": [User],
"contributorInfos": [ContributorInfo]
}
ConflictBoundingBoxLabel
Fields
Field Name | Description |
---|---|
id - ID!
|
|
documentId - ID!
|
|
coordinates - [Coordinate!]!
|
|
pageIndex - Int!
|
|
layer - Int!
|
|
position - TextRange!
|
|
resolved - Boolean!
|
|
hashCode - String!
|
|
labelerIds - [Int!]!
|
|
text - String!
|
Example
{
"id": 4,
"documentId": 4,
"coordinates": [Coordinate],
"pageIndex": 123,
"layer": 123,
"position": TextRange,
"resolved": true,
"hashCode": "abc123",
"labelerIds": [123],
"text": "abc123"
}
ConflictContributorIds
Fields
Field Name | Description |
---|---|
labelHashCode - String!
|
|
contributorIds - [Int!]!
|
Please use contributorInfos |
contributorInfos - [ContributorInfo!]!
|
Example
{
"labelHashCode": "xyz789",
"contributorIds": [987],
"contributorInfos": [ContributorInfo]
}
ConflictResolution
Fields
Field Name | Description |
---|---|
mode - ConflictResolutionMode!
|
|
consensus - Int!
|
Example
{"mode": "MANUAL", "consensus": 987}
ConflictResolutionInput
Fields
Input Field | Description |
---|---|
mode - ConflictResolutionMode
|
Default to PEER_REVIEW when not provided. MANUAL: all labels must be manually accepted / rejected by REVIEWERs PEER_REVIEW: labels that have met the minimum consensus value are automatically accepted. |
consensus - Int
|
Peer review / labeler consensus. It determines how many consensus so that the label will be automatically accepted. |
Example
{"mode": "MANUAL", "consensus": 123}
ConflictResolutionMode
Values
Enum Value | Description |
---|---|
|
|
|
Example
"MANUAL"
ConflictTextLabel
Example
{
"id": 4,
"l": "abc123",
"layer": 987,
"ref": "abc123",
"labelerIds": [987],
"labelers": [User],
"resolved": true,
"text": "abc123",
"hashCode": "xyz789",
"documentId": "abc123",
"start": TextCursor,
"end": TextCursor,
"acceptedByUserId": "4",
"rejectedByUserId": 4
}
ConflictTextLabelResolutionStrategy
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"AUTO"
ConflictTextLabelScalar
Example
ConflictTextLabelScalar
ConfusionMatrixTable
Fields
Field Name | Description |
---|---|
matrixClasses - [MatrixClass!]!
|
|
data - [MatrixData!]!
|
Example
{
"matrixClasses": [MatrixClass],
"data": [MatrixData]
}
ContributorInfo
Description
Additional information of each contributor label info.
Example
{
"id": 4,
"labelPhase": "PRELABELED",
"acceptedByUserId": 4,
"rejectedByUserId": 4,
"userId": 4,
"teamMemberId": "4"
}
ConversationalMetadata
Fields
Field Name | Description |
---|---|
speaker - String!
|
|
indent - Int!
|
|
alignment - ConversationalMetadataAlignment!
|
|
color - String
|
Example
{
"speaker": "xyz789",
"indent": 123,
"alignment": "LEFT",
"color": "abc123"
}
ConversationalMetadataAlignment
Values
Enum Value | Description |
---|---|
|
|
|
Example
"LEFT"
Coordinate
CoordinateInput
CostPredictionResponse
Fields
Field Name | Description |
---|---|
costPerPromptTemplate - [PromptTemplateCostPrediction!]!
|
|
totalChars - CostPredictionTotal!
|
|
totalTokens - CostPredictionTotal!
|
|
totalPrice - CostPredictionTotalPrice!
|
Example
{
"costPerPromptTemplate": [PromptTemplateCostPrediction],
"totalChars": CostPredictionTotal,
"totalTokens": CostPredictionTotal,
"totalPrice": CostPredictionTotalPrice
}
CostPredictionTotal
CostPredictionTotalPrice
CreateBBoxLabelClassInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
color - String
|
|
captionAllowed - Boolean!
|
|
captionRequired - Boolean!
|
|
questions - [QuestionInput!]
|
Example
{
"name": "xyz789",
"color": "abc123",
"captionAllowed": false,
"captionRequired": false,
"questions": [QuestionInput]
}
CreateBBoxLabelSetInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
classes - [CreateBBoxLabelClassInput!]!
|
|
autoLabelProvider - BBoxAutoLabelProvider
|
Example
{
"name": "xyz789",
"classes": [CreateBBoxLabelClassInput],
"autoLabelProvider": "TESSERACT"
}
CreateChunkInput
CreateChunkResponse
Fields
Field Name | Description |
---|---|
createdChunk - DocumentChunk!
|
|
previousChunk - DocumentChunk
|
|
nextChunk - DocumentChunk
|
Example
{
"createdChunk": DocumentChunk,
"previousChunk": DocumentChunk,
"nextChunk": DocumentChunk
}
CreateCreateProjectActionInput
Description
Parameters for creating create project Action.
Fields
Input Field | Description |
---|---|
name - String!
|
Name of the create project Action object. |
teamId - ID!
|
ID of the team. |
externalObjectStorageId - ID!
|
ID of the external object storage used in this Action. |
externalObjectStoragePathInput - String!
|
The path inside the external object storage to retrieve the documents from. |
externalObjectStoragePathResult - String!
|
The path inside the external object storage to store the results to. |
projectTemplateId - ID!
|
ID of the project template used. |
assignments - [CreateProjectActionAssignmentInput!]!
|
Object that stores the assignment informations for this Action. |
additionalTagNames - [String!]
|
Tag names that will be attached to each of the projects. If the tag doesn't exist, it will be created; otherwise, it will be used. See Tag. |
numberOfLabelersPerProject - Int!
|
The number of labelers assigned per project. |
numberOfReviewersPerProject - Int!
|
The number of reviewers assigned per project. |
numberOfLabelersPerDocument - Int!
|
The number of labelers assigned per document. |
conflictResolutionMode - ConflictResolutionMode!
|
Mode used to handle conflict. MANUAL or PEER_REVIEW |
consensus - Int!
|
The number of consensus needed to resolve a conflict. |
Example
{
"name": "abc123",
"teamId": 4,
"externalObjectStorageId": 4,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": 4,
"assignments": [CreateProjectActionAssignmentInput],
"additionalTagNames": ["xyz789"],
"numberOfLabelersPerProject": 987,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 123
}
CreateCustomAPIInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
endpointURL - String!
|
|
purpose - CustomAPIPurpose!
|
|
secret - String!
|
Example
{
"name": "xyz789",
"endpointURL": "xyz789",
"purpose": "ASR_API",
"secret": "abc123"
}
CreateDocumentChunkInput
Example
{
"llmVectorStoreId": 4,
"fileName": "abc123",
"objectKey": "abc123",
"chunkConfiguration": ChunkConfiguration,
"externalObjectStorageId": 4,
"filePath": "abc123"
}
CreateDocumentInput
Fields
Input Field | Description |
---|---|
document - DocumentDetailInput!
|
Required. The main document to be labeled. For OCR / Audio / BBox labeling, this contains the media file. |
extras - [DocumentDetailInput!]
|
Additional info supplementing the main document. For OCR / Audio projects, a transcription is required. For Document or BBox labeling, an answerfile is optional. |
textLanguage - String
|
Optional. Sets the language of the document. |
Example
{
"document": DocumentDetailInput,
"extras": [DocumentDetailInput],
"textLanguage": "xyz789"
}
CreateExternalObjectStorageInput
Fields
Input Field | Description |
---|---|
cloudService - ObjectStorageClientName!
|
|
bucketId - String
|
|
bucketName - String!
|
|
credentials - ExternalObjectStorageCredentialsInput!
|
|
securityToken - String
|
Required for Google Cloud Storage only. Security token to authorize access to the bucket when connecting it to another workspace. |
teamId - ID!
|
Example
{
"cloudService": "AWS_S3",
"bucketId": "abc123",
"bucketName": "abc123",
"credentials": ExternalObjectStorageCredentialsInput,
"securityToken": "abc123",
"teamId": 4
}
CreateFileTransformerInput
Fields
Input Field | Description |
---|---|
teamId - ID!
|
|
name - String!
|
|
purpose - FileTransformerPurpose!
|
Example
{
"teamId": "4",
"name": "xyz789",
"purpose": "IMPORT"
}
CreateGroundTruthInput
CreateGroundTruthSetForFineTuningInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
teamId - ID!
|
|
items - [CreateGroundTruthInput!]!
|
Example
{
"name": "xyz789",
"teamId": "4",
"items": [CreateGroundTruthInput]
}
CreateGroundTruthSetInput
CreateLLMApplicationDocBasedInput
CreateLLMApplicationDocBasedOutput
Fields
Field Name | Description |
---|---|
llmApplicationId - ID!
|
Example
{"llmApplicationId": 4}
CreateLabelSetInput
Fields
Input Field | Description |
---|---|
name - String
|
The labelset's name. |
index - Int
|
The labelset's zero-based index in a project. Each project can have up to 5 labelset. |
tagItems - [TagItemInput!]!
|
List of labelset items to be added under the new labelset. |
arrowLabelRequired - Boolean
|
Optional. Defaults to false. |
leafOnlyOption - Boolean
|
Optional. If true, the labelset will only allow leaf options to be selected. |
Example
{
"name": "xyz789",
"index": 987,
"tagItems": [TagItemInput],
"arrowLabelRequired": false,
"leafOnlyOption": true
}
CreateLabelSetTemplateInput
Description
Representation of a new labelset template.
Fields
Input Field | Description |
---|---|
name - String!
|
Required. The labelset template's name. |
teamId - ID
|
Optional. Associate the labelset template to the specified team. See type Team . |
questions - [LabelSetTemplateItemInput!]!
|
Required. The items to be added into the new labelset template. To create a token-based labelset template, put the list of labelset items under questions[0].config.options field. |
leafOnlyOption - Boolean
|
Optional. If true, the labelset template will only allow leaf options to be selected. |
Example
{
"name": "xyz789",
"teamId": "4",
"questions": [LabelSetTemplateItemInput],
"leafOnlyOption": false
}
CreateLlmApplicationConfigurationInput
Example
{
"name": "abc123",
"teamId": 4,
"llmRagConfigId": 4
}
CreateLlmVectorStoreInput
Description
Configuration parameter for llm vector store creation.
Fields
Input Field | Description |
---|---|
name - String!
|
Required. Set the llm vector store name. |
teamId - ID!
|
|
provider - GqlLlmVectorStoreProvider!
|
|
llmEmbeddingModelId - ID
|
|
collectionId - String
|
|
authenticationScheme - GqlLlmVectorStoreAuthenticationScheme
|
|
username - String
|
|
password - String
|
|
questions - [QuestionInput!]
|
Optional. Set the questions for LLM Vector Store. |
dimension - Int
|
|
chunkConfiguration - ChunkConfiguration
|
Optional. The chunk configuration for the llm vector store. |
Example
{
"name": "abc123",
"teamId": "4",
"provider": "DATASAUR",
"llmEmbeddingModelId": 4,
"collectionId": "abc123",
"authenticationScheme": "BASIC",
"username": "abc123",
"password": "abc123",
"questions": [QuestionInput],
"dimension": 123,
"chunkConfiguration": ChunkConfiguration
}
CreateNewPasswordInput
Fields
Input Field | Description |
---|---|
newPassword - String!
|
|
confirmNewPassword - String!
|
|
totpCode - TotpCodeInput
|
Example
{
"newPassword": "xyz789",
"confirmNewPassword": "abc123",
"totpCode": TotpCodeInput
}
CreatePersonalTagInput
Fields
Input Field | Description |
---|---|
name - String!
|
Example
{"name": "xyz789"}
CreateProjectAction
Description
A create project Action object.
Fields
Field Name | Description |
---|---|
id - ID!
|
ID of the create project Action object. |
name - String!
|
Name of the create project Action object. |
teamId - ID!
|
ID of the team. |
appVersion - String!
|
Version of Datasaur app when create project Action is created. |
creatorId - ID!
|
ID of the user creating this Action. |
lastRunAt - String
|
The time this Action is last ran. |
lastFinishedAt - String
|
The time this Action is last finished. |
externalObjectStorageId - ID
|
ID of the external object storage used in this Action. |
externalObjectStorage - ExternalObjectStorage
|
External object storage object used in this Action. |
externalObjectStoragePathInput - String!
|
The path inside the external object storage to retrieve the documents from. |
externalObjectStoragePathResult - String!
|
The path inside the external object storage to store the results into. |
projectTemplateId - ID!
|
ID of the project template used. |
projectTemplate - ProjectTemplate!
|
The project template object used. |
assignments - [CreateProjectActionAssignment!]!
|
Object that stores the assignment informations for this Action. |
additionalTagNames - [String!]
|
Tag names that will be attached to each of the projects. If the tag doesn't exist, it will be created; otherwise, it will be used. See Tag. |
numberOfLabelersPerProject - Int!
|
The number of labelers assigned per project. |
numberOfReviewersPerProject - Int!
|
The number of reviewers assigned per project. |
numberOfLabelersPerDocument - Int!
|
The number of labelers assigned per document. |
conflictResolutionMode - ConflictResolutionMode!
|
Mode used to handle conflict. MANUAL or PEER_REVIEW |
consensus - Int!
|
The number of consensus needed to resolve a conflict. |
warnings - [CreateProjectActionWarning!]!
|
Warning in case some of the referred entities got deleted, i.e. assignees, external object storage, or project template. |
Example
{
"id": 4,
"name": "xyz789",
"teamId": 4,
"appVersion": "xyz789",
"creatorId": "4",
"lastRunAt": "abc123",
"lastFinishedAt": "xyz789",
"externalObjectStorageId": 4,
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": "4",
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["xyz789"],
"numberOfLabelersPerProject": 123,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 123,
"warnings": ["ASSIGNED_LABELER_NOT_MEET_CONSENSUS"]
}
CreateProjectActionAssignment
Description
A create project Action assignment object.
Fields
Field Name | Description |
---|---|
id - ID!
|
ID of the create project Action assignment object. |
actionId - ID!
|
ID of the create project Action. |
role - ProjectAssignmentRole!
|
Role of the team member in the project created. |
teamMember - TeamMember!
|
A TeamMember object of a user related to a team. |
teamMemberId - String!
|
ID of the TeamMember object |
totalAssignedAsLabeler - Int!
|
The total number of labelers assigned to the created project |
totalAssignedAsReviewer - Int!
|
The total number of reviewers assigned to the created project |
Example
{
"id": "4",
"actionId": 4,
"role": "LABELER",
"teamMember": TeamMember,
"teamMemberId": "xyz789",
"totalAssignedAsLabeler": 987,
"totalAssignedAsReviewer": 123
}
CreateProjectActionAssignmentInput
Description
Parameters for assigning a create project Action.
Fields
Input Field | Description |
---|---|
teamMemberId - String!
|
|
role - ProjectAssignmentRole!
|
Example
{
"teamMemberId": "xyz789",
"role": "LABELER"
}
CreateProjectActionPaginationInput
Description
Parameters create project automation paginated query.
Fields
Input Field | Description |
---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - CreateProjectActionRunFilterInput
|
|
sort - [SortInput!]
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": CreateProjectActionRunFilterInput,
"sort": [SortInput]
}
CreateProjectActionRun
Description
Parameters for a create project Action run.
Fields
Field Name | Description |
---|---|
id - ID!
|
ID of create project Action run object. |
actionId - ID!
|
ID of the create project Action. |
status - JobStatus!
|
Status of the job running the Action. |
currentAppVersion - String!
|
Version of Datasaur app when create project Action is ran. |
triggeredByUserId - ID!
|
ID of the user triggering this Action. |
triggeredBy - User!
|
The user triggering this Action. |
startAt - String!
|
Time when the Action is started. |
endAt - String
|
Time when the Action is finished. |
totalSuccess - Int!
|
Total number of projects successfully created |
totalFailure - Int!
|
Total number of projects unsuccessfully created |
externalObjectStorageId - String!
|
ID of the external object storage used in this Action. |
externalObjectStoragePathInput - String!
|
The path inside the external object storage to retrieve the documents from. |
externalObjectStoragePathResult - String!
|
The path inside the external object storage to store the results to. |
projectTemplate - Snapshot!
|
The project template object used. |
assignments - [Snapshot!]!
|
Object that stores the assignment informations for this Action. |
numberOfLabelersPerProject - Int!
|
The number of labelers assigned per project. |
numberOfReviewersPerProject - Int!
|
The number of reviewers assigned per project. |
numberOfLabelersPerDocument - Int!
|
The number of labelers assigned per document. |
conflictResolutionMode - ConflictResolutionMode!
|
Mode used to handle conflict. MANUAL or PEER_REVIEW |
consensus - Int!
|
The number of consensus needed to resolve a conflict. |
Example
{
"id": "4",
"actionId": 4,
"status": "DELIVERED",
"currentAppVersion": "xyz789",
"triggeredByUserId": "4",
"triggeredBy": User,
"startAt": "abc123",
"endAt": "xyz789",
"totalSuccess": 123,
"totalFailure": 123,
"externalObjectStorageId": "abc123",
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "abc123",
"projectTemplate": Snapshot,
"assignments": [Snapshot],
"numberOfLabelersPerProject": 123,
"numberOfReviewersPerProject": 123,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 987
}
CreateProjectActionRunDetail
Description
Parameters for a create project Action run detail.
Fields
Field Name | Description |
---|---|
id - ID!
|
ID of the create project Action run detail. |
status - ActionRunDetailStatus!
|
Status of a single project processed in the Action. |
runId - ID!
|
ID of the create project Action run. |
startAt - String!
|
Time when the Action is started. |
endAt - String!
|
Time when the Action is finished. |
error - DatasaurError
|
Error from the failed project creation. |
project - Snapshot
|
The created project object. |
projectPath - String!
|
The created project path. |
documentNames - [String!]!
|
Document names used to create the project. |
Example
{
"id": "4",
"status": "SUCCESS",
"runId": "4",
"startAt": "xyz789",
"endAt": "abc123",
"error": DatasaurError,
"project": Snapshot,
"projectPath": "xyz789",
"documentNames": ["abc123"]
}
CreateProjectActionRunDetailFilterInput
CreateProjectActionRunDetailPaginatedResponse
Description
Paginated list of create project Action run details.
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [CreateProjectActionRunDetail!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [CreateProjectActionRunDetail]
}
CreateProjectActionRunDetailPaginationInput
Description
Parameters create project automation paginated query.
Fields
Input Field | Description |
---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - CreateProjectActionRunDetailFilterInput
|
|
sort - [SortInput!]
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": CreateProjectActionRunDetailFilterInput,
"sort": [SortInput]
}
CreateProjectActionRunFilterInput
CreateProjectActionRunPaginatedResponse
Description
Paginated list of create project Action activites.
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [CreateProjectActionRun!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [CreateProjectActionRun]
}
CreateProjectActionWarning
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"ASSIGNED_LABELER_NOT_MEET_CONSENSUS"
CreateProjectMetadataItemInput
CreateProjectTemplateInput
CreateQuestionSetInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
items - [QuestionSetItemInput!]!
|
|
teamId - String
|
Example
{
"name": "abc123",
"items": [QuestionSetItemInput],
"teamId": "xyz789"
}
CreateSamlTenantInput
CreateTagInput
CreateTagsIfNotExistInput
Fields
Input Field | Description |
---|---|
teamId - ID
|
|
names - [String!]!
|
Example
{"teamId": 4, "names": ["abc123"]}
CreateTeamInput
Fields
Input Field | Description |
---|---|
name - String!
|
|
members - [TeamMemberInput!]
|
|
logo - Upload
|
Example
{
"name": "abc123",
"members": [TeamMemberInput],
"logo": Upload
}
CreateTextDocumentInput
Description
To provide the document, choose one of these fields:
file
fileUrl
externalImportableUrl
externalObjectStorageFileKey
objectKey
To provide the answer file (for pre-labeled), choose one of these fields:
answerFile
answerExternalImportableUrl
externalObjectStorageAnswerFileKey
answerObjectKey
Fields
Input Field | Description |
---|---|
fileName - String!
|
Required. File Name. It affects the File Extension and exported file. |
name - String
|
Optional. Document Name. It affects the document title section. |
file - Upload
|
Optional. Fill this one if you want to directly upload a file. |
fileUrl - String
|
Optional. Only for Doc Labeling project. Fill this one if you want to use a publicly accessible file without upload. The user will be able to access the file directly each time the document is loaded through the browser. |
externalImportableUrl - String
|
Optional. Fill this one if you want Datasaur to download your file from the URL. Unlike fileUrl , you can ignore the externalImportableUrl as soon as the project is successfully created since the file will be uploaded to Datasaur's server. |
externalObjectStorageFileKey - String
|
Optional. Fill this one if you want to select a file directly from your own object storage. |
objectKey - String
|
Optional. Fill this with the objectKey returned by uploading the file via upload proxy REST API. |
answerFileName - String
|
Optional. Specific for Doc Labeling. Only if you use a pre-labeled file. |
answerFile - Upload
|
Optional. Specific for Doc Labeling. Fill this one if you want to upload a pre-labeled file. |
answerExternalImportableUrl - String
|
Optional. Specific for Doc Labeling. Fill this one if you want Datasaur to download your pre-labeled file from the URL. You can ignore the answerExternalImportableUrl as soon as the project is successfully created since the pre-labeled data is already processed. |
externalObjectStorageAnswerFileKey - String
|
Optional. Specific for Doc Labeling. Fill this one if you want to select a pre-labeled file directly from your own object storage. |
answerObjectKey - String
|
Optional. Specific for Doc Labeling. Fill this with the objectKey returned by uploading the answer file via upload proxy REST API. |
settings - SettingsInput
|
Optional. Set the configuration of this specific document. |
type - TextDocumentType
|
Optional. It uses the same type as in LaunchTextProjectInput. |
extraFiles - [Upload!]
|
|
docFileOptions - DocFileOptionsInput
|
Only used in Row Based Labeling and Document Based Labeling. |
questionFile - Upload
|
Optional. Only for Row and Doc Labeling. Upload a file containing questions for this document. |
questionFileName - String
|
Optional. Only for Row and Doc Labeling. The name of the question file. |
fileTransformerId - ID
|
Optional. File transformer ID to transform your input file to a format that is accepted by Datasaur. |
customTextExtractionAPIId - ID
|
Optional. Only for Doc Labeling. To extract transcription from the file. |
orderInProject - Int
|
Deprecated. By default, documents will be sorted by filename No longer supported |
customScriptId - ID
|
Deprecated. Please use field fileTransformerId instead. No longer supported
|
Example
{
"fileName": "xyz789",
"name": "xyz789",
"file": Upload,
"fileUrl": "xyz789",
"externalImportableUrl": "xyz789",
"externalObjectStorageFileKey": "abc123",
"objectKey": "xyz789",
"answerFileName": "xyz789",
"answerFile": Upload,
"answerExternalImportableUrl": "abc123",
"externalObjectStorageAnswerFileKey": "xyz789",
"answerObjectKey": "abc123",
"settings": SettingsInput,
"type": "POS",
"extraFiles": [Upload],
"docFileOptions": DocFileOptionsInput,
"questionFile": Upload,
"questionFileName": "xyz789",
"fileTransformerId": "4",
"customTextExtractionAPIId": "4",
"orderInProject": 123,
"customScriptId": "4"
}
CreateUserInput
Fields
Input Field | Description |
---|---|
name - String
|
|
username - String
|
|
email - String!
|
|
password - String!
|
|
googleId - String
|
|
oktaId - String
|
|
amazonId - String
|
|
phoneNumber - String
|
|
companyName - String
|
|
passwordConfirmation - String!
|
|
redirect - String
|
|
betaKey - String
|
|
invitationKey - String
|
|
recaptcha - String
|
|
signUpParams - SignUpParamsInput
|
Example
{
"name": "xyz789",
"username": "xyz789",
"email": "abc123",
"password": "xyz789",
"googleId": "xyz789",
"oktaId": "abc123",
"amazonId": "abc123",
"phoneNumber": "abc123",
"companyName": "abc123",
"passwordConfirmation": "abc123",
"redirect": "xyz789",
"betaKey": "xyz789",
"invitationKey": "abc123",
"recaptcha": "xyz789",
"signUpParams": SignUpParamsInput
}
CreationSettingsInput
Fields
Input Field | Description |
---|---|
viewer - ViewerInput
|
Configures what editor will be used. Required for Token and Row Labeling. |
fileTransformerId - ID
|
|
tokenizer - String
|
|
sentenceSeparator - String
|
For Span labeling, with TXT or TSV IOB files.
|
transcriptConfig - TranscriptConfigInput
|
|
enableTabularMarkdownParsing - Boolean
|
|
firstRowAsHeader - Boolean
|
|
customHeaderColumns - [HeaderColumnInput!]
|
|
anonymizationConfig - AnonymizationConfigInput
|
Optional. When not provided, anonymization is disabled. |
splitDocumentConfig - SplitDocumentOptionInput
|
Optional. Specific for Token and Row Labeling. Set the document splitting behavior. |
Example
{
"viewer": ViewerInput,
"fileTransformerId": "4",
"tokenizer": "abc123",
"sentenceSeparator": "xyz789",
"transcriptConfig": TranscriptConfigInput,
"enableTabularMarkdownParsing": true,
"firstRowAsHeader": false,
"customHeaderColumns": [HeaderColumnInput],
"anonymizationConfig": AnonymizationConfigInput,
"splitDocumentConfig": SplitDocumentOptionInput
}
CronExpression
Example
CronExpression
CursorPageInput
CustomAPI
Fields
Field Name | Description |
---|---|
id - ID!
|
|
teamId - ID!
|
|
endpointURL - String!
|
|
name - String!
|
|
purpose - CustomAPIPurpose!
|
Example
{
"id": "4",
"teamId": 4,
"endpointURL": "abc123",
"name": "abc123",
"purpose": "ASR_API"
}
CustomAPIPurpose
Values
Enum Value | Description |
---|---|
|
|
|
Example
"ASR_API"
CustomModelDefaultData
CustomReportBuilderInput
Fields
Input Field | Description |
---|---|
metricsGroupId - ID!
|
Required. The metrics group table ID to export. |
selectedSegments - [CustomReportClientSegment!]!
|
Required. The segments to export. See CustomReportClientSegment . |
selectedMetrics - [CustomReportMetric!]!
|
Required. The metrics to export. See CustomReportMetric . |
method - GqlExportMethod
|
Optional. How the export result is delivered. |
filters - [CustomReportFilter!]
|
Optional. The filters. See CustomReportFilter . |
dataSet - CustomReportDataSet
|
Optional. The data set. |
Example
{
"metricsGroupId": 4,
"selectedSegments": ["DATE"],
"selectedMetrics": ["LABELS_ACCURACY"],
"method": "FILE_STORAGE",
"filters": [CustomReportFilter],
"dataSet": "METABASE"
}
CustomReportClientSegment
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE"
CustomReportDataSet
Values
Enum Value | Description |
---|---|
|
METABASE is no longer supported. Please use ELASTIC. |
|
Example
"METABASE"
CustomReportFilter
Fields
Input Field | Description |
---|---|
strategy - CustomReportFilterStrategy!
|
|
field - CustomReportFilterColumn!
|
|
value - String!
|
Example
{
"strategy": "CONTAINS",
"field": "DATE",
"value": "xyz789"
}
CustomReportFilterColumn
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE"
CustomReportFilterStrategy
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CONTAINS"
CustomReportMetric
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"LABELS_ACCURACY"
CustomReportMetricsGroupTable
Fields
Field Name | Description |
---|---|
id - ID!
|
|
name - String!
|
|
description - String
|
|
clientSegments - [CustomReportClientSegment!]!
|
|
metrics - [CustomReportMetric!]!
|
|
filterStrategies - [CustomReportFilterStrategy!]!
|
Example
{
"id": 4,
"name": "xyz789",
"description": "xyz789",
"clientSegments": ["DATE"],
"metrics": ["LABELS_ACCURACY"],
"filterStrategies": ["CONTAINS"]
}
CustomReportPreviewData
Fields
Field Name | Description |
---|---|
rows - [CustomReportRowScalar!]
|
Example
{"rows": [CustomReportRowScalar]}
CustomReportRowScalar
Example
CustomReportRowScalar
CustomReportSuggestion
Fields
Field Name | Description |
---|---|
id - String!
|
|
label - String!
|
|
groupId - LabelerGroupId
|
Example
{
"id": "xyz789",
"label": "abc123",
"groupId": "ALL"
}
CustomReportSuggestions
Fields
Field Name | Description |
---|---|
column - CustomReportFilterColumn!
|
|
suggestions - [CustomReportSuggestion!]!
|
Example
{
"column": "DATE",
"suggestions": [CustomReportSuggestion]
}
CustomScript
CustomScriptInput
Fields
Input Field | Description |
---|---|
content - String!
|
Example
{"content": "xyz789"}
CustomUploadSetting
Fields
Field Name | Description |
---|---|
enableCustomUpload - Boolean!
|
Example
{"enableCustomUpload": false}
DataProgramming
Fields
Field Name | Description |
---|---|
id - ID!
|
|
provider - DataProgrammingProvider!
|
|
projectId - ID!
|
|
kind - ProjectKind!
|
|
labelsSignature - String!
|
|
labels - [DataProgrammingLabel!]!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
lastGetPredictionsAt - String
|
Example
{
"id": 4,
"provider": "SNORKEL",
"projectId": "4",
"kind": "DOCUMENT_BASED",
"labelsSignature": "abc123",
"labels": [DataProgrammingLabel],
"createdAt": "abc123",
"updatedAt": "xyz789",
"lastGetPredictionsAt": "xyz789"
}
DataProgrammingLabel
DataProgrammingLabelInput
DataProgrammingLabelingFunctionAnalysis
DataProgrammingLibraries
Fields
Field Name | Description |
---|---|
libraries - [String!]!
|
Example
{"libraries": ["xyz789"]}
DataProgrammingProvider
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"SNORKEL"
DatasaurApp
Values
Enum Value | Description |
---|---|
|
|
|
Example
"NLP"
DatasaurDinamicRowBased
Fields
Field Name | Description |
---|---|
id - ID!
|
|
projectId - ID!
|
|
provider - DatasaurDinamicRowBasedProvider!
|
|
inputColumnIds - [Int!]!
|
|
questionColumnId - Int!
|
|
providerSetting - ProviderSetting
|
|
modelMetadata - ModelMetadata
|
|
trainingJobId - ID
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"projectId": "4",
"provider": "HUGGINGFACE",
"inputColumnIds": [987],
"questionColumnId": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": 4,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
DatasaurDinamicRowBasedProvider
Values
Enum Value | Description |
---|---|
|
|
|
Example
"HUGGINGFACE"
DatasaurDinamicRowBasedProviders
Fields
Field Name | Description |
---|---|
name - String!
|
|
provider - DatasaurDinamicRowBasedProvider!
|
Example
{
"name": "xyz789",
"provider": "HUGGINGFACE"
}
DatasaurDinamicTokenBased
Fields
Field Name | Description |
---|---|
id - ID!
|
|
projectId - ID!
|
|
provider - DatasaurDinamicTokenBasedProvider!
|
|
targetLabelSetIndex - Int!
|
|
providerSetting - ProviderSetting
|
|
modelMetadata - ModelMetadata
|
|
trainingJobId - ID
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"projectId": 4,
"provider": "HUGGINGFACE",
"targetLabelSetIndex": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": 4,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
DatasaurDinamicTokenBasedProvider
Values
Enum Value | Description |
---|---|
|
Example
"HUGGINGFACE"
DatasaurDinamicTokenBasedProviders
Fields
Field Name | Description |
---|---|
name - String!
|
|
provider - DatasaurDinamicTokenBasedProvider!
|
Example
{
"name": "xyz789",
"provider": "HUGGINGFACE"
}
DatasaurError
Fields
Field Name | Description |
---|---|
code - String!
|
|
message - String
|
|
args - DatasaurErrorArgs!
|
Example
{
"code": "abc123",
"message": "abc123",
"args": DatasaurErrorArgs
}
DatasaurErrorArgs
Example
DatasaurErrorArgs
DatasaurPredictive
Fields
Field Name | Description |
---|---|
id - ID!
|
|
projectId - ID!
|
|
provider - DatasaurPredictiveProvider!
|
|
inputColumnIds - [Int!]!
|
|
questionColumnId - Int!
|
|
providerSetting - ProviderSetting
|
|
modelMetadata - ModelMetadata
|
|
trainingJobId - ID
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": "4",
"projectId": 4,
"provider": "SETFIT",
"inputColumnIds": [123],
"questionColumnId": 123,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": 4,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
DatasaurPredictiveProvider
Values
Enum Value | Description |
---|---|
|
Example
"SETFIT"
DatasaurPredictiveProviders
Fields
Field Name | Description |
---|---|
name - String!
|
|
provider - DatasaurPredictiveProvider!
|
Example
{"name": "abc123", "provider": "SETFIT"}
DatasaurPredictiveReadyForTrainingInput
DateTime
Example
"2007-12-03T10:15:30Z"
DateTimeDefaultValue
Values
Enum Value | Description |
---|---|
|
Example
"NOW"
DaysCreatedInput
DefaultExtension
Fields
Field Name | Description |
---|---|
kind - ProjectKind!
|
|
labelerExtensions - [DefaultExtensionElement!]!
|
|
reviewerExtensions - [DefaultExtensionElement!]!
|
Example
{
"kind": "DOCUMENT_BASED",
"labelerExtensions": [DefaultExtensionElement],
"reviewerExtensions": [DefaultExtensionElement]
}
DefaultExtensionElement
Fields
Field Name | Description |
---|---|
extensionId - ExtensionID!
|
Example
{"extensionId": "AUTO_LABEL_TOKEN_EXTENSION_ID"}
DefaultExtensionElementInput
Fields
Input Field | Description |
---|---|
extensionId - ExtensionID!
|
Example
{"extensionId": "AUTO_LABEL_TOKEN_EXTENSION_ID"}
DefaultExtensionInput
Fields
Input Field | Description |
---|---|
kind - ProjectKind!
|
|
labelerExtensions - [DefaultExtensionElementInput!]!
|
|
reviewerExtensions - [DefaultExtensionElementInput!]!
|
Example
{
"kind": "DOCUMENT_BASED",
"labelerExtensions": [DefaultExtensionElementInput],
"reviewerExtensions": [DefaultExtensionElementInput]
}
DefaultLabelingFunctionTemplateType
Values
Enum Value | Description |
---|---|
|
|
|
Example
"WITH_SPECIFIC_TARGET_LABEL"
DefinitionEntry
DeleteChunkInput
DeleteChunkResponse
Fields
Field Name | Description |
---|---|
deletedChunk - DocumentChunk!
|
|
previousChunk - DocumentChunk
|
|
nextChunk - DocumentChunk
|
Example
{
"deletedChunk": DocumentChunk,
"previousChunk": DocumentChunk,
"nextChunk": DocumentChunk
}
DeleteExtensionElementInput
DeleteLabelErrorDetectionRowBasedSuggestionByIdsInput
Fields
Input Field | Description |
---|---|
labelErrorDetectionSuggestionIds - [ID!]!
|
Example
{"labelErrorDetectionSuggestionIds": ["4"]}
DeleteLabelingFunctionsInput
DeleteLabelsOnTextDocumentInput
DeleteLabelsOnTextDocumentResult
Fields
Field Name | Description |
---|---|
affectedChunks - [TextChunk!]!
|
|
deletedTokenLabels - [TextLabel!]!
|
|
statistic - TextDocumentStatistic!
|
|
lastSavedAt - String!
|
Example
{
"affectedChunks": [TextChunk],
"deletedTokenLabels": [TextLabel],
"statistic": TextDocumentStatistic,
"lastSavedAt": "xyz789"
}
DeleteProjectInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
Example
{"projectId": "4"}
DeleteSentenceResult
Fields
Field Name | Description |
---|---|
document - TextDocument!
|
|
updatedCell - Cell!
|
|
addedLabels - [TextLabel!]!
|
|
deletedLabels - [TextLabel!]!
|
Example
{
"document": TextDocument,
"updatedCell": Cell,
"addedLabels": [TextLabel],
"deletedLabels": [TextLabel]
}
DeleteTextDocumentResult
Fields
Field Name | Description |
---|---|
id - ID
|
Example
{"id": "4"}
DictionaryResult
Fields
Field Name | Description |
---|---|
word - String!
|
|
lang - String!
|
|
entries - [DictionaryResultEntry]!
|
Example
{
"word": "xyz789",
"lang": "xyz789",
"entries": [DictionaryResultEntry]
}
DictionaryResultEntry
Fields
Field Name | Description |
---|---|
lexicalCategory - String!
|
|
definitions - [DefinitionEntry!]!
|
Example
{
"lexicalCategory": "xyz789",
"definitions": [DefinitionEntry]
}
DocFileOptionsInput
Fields
Input Field | Description |
---|---|
customHeaderColumns - [HeaderColumnInput!]
|
Override column headers by using these values. |
firstRowAsHeader - Boolean
|
If the csv or xlsx file has header as the first row. Datasaur will use it as the column header for Row Based Labeling. |
Example
{
"customHeaderColumns": [HeaderColumnInput],
"firstRowAsHeader": false
}
DocLabelObject
Fields
Field Name | Description |
---|---|
labels - [String!]!
|
|
subLabels - [DocLabelObject!]
|
|
objectLabels - [LabelObject!]
|
Example
{
"labels": ["abc123"],
"subLabels": [DocLabelObject],
"objectLabels": [LabelObject]
}
DocLabelObjectInput
Fields
Input Field | Description |
---|---|
labels - [String!]!
|
|
subLabels - [DocLabelObjectInput!]
|
|
objectLabels - [LabelObjectInput!]
|
Example
{
"labels": ["xyz789"],
"subLabels": [DocLabelObjectInput],
"objectLabels": [LabelObjectInput]
}
DocumentAnswer
Fields
Field Name | Description |
---|---|
documentId - ID!
|
|
answers - AnswerScalar!
|
|
metadata - [AnswerMetadata!]!
|
|
updatedAt - DateTime
|
Example
{
"documentId": "4",
"answers": AnswerScalar,
"metadata": [AnswerMetadata],
"updatedAt": "2007-12-03T10:15:30Z"
}
DocumentAssignmentInput
Fields
Input Field | Description |
---|---|
teamMemberId - ID
|
One of the following must be provided:
See query |
email - String
|
|
agentId - ID
|
|
agentType - AgentType
|
|
documents - [DocumentFileNameWithPart!]
|
List of documents to be assigned. |
role - ProjectAssignmentRole
|
The team member's role in the document. |
Example
{
"teamMemberId": "4",
"email": "abc123",
"agentId": 4,
"agentType": "LLM_LABS",
"documents": [DocumentFileNameWithPart],
"role": "LABELER"
}
DocumentChunk
Fields
Field Name | Description |
---|---|
text - String!
|
|
metadata - DocumentChunkMetadata!
|
|
embedding - [Float!]
|
Example
{
"text": "xyz789",
"metadata": DocumentChunkMetadata,
"embedding": [987.65]
}
DocumentChunkInput
Fields
Input Field | Description |
---|---|
text - String!
|
|
metadata - DocumentChunkMetadata!
|
Example
{
"text": "abc123",
"metadata": DocumentChunkMetadata
}
DocumentChunkMetadata
Example
DocumentChunkMetadata
DocumentCompletionState
Fields
Field Name | Description |
---|---|
id - ID!
|
|
isCompleted - Boolean!
|
|
completedByUserId - ID
|
|
status - TextDocumentStatus
|
|
statusUpdatedByUserId - ID
|
Example
{
"id": 4,
"isCompleted": false,
"completedByUserId": "4",
"status": "NOT_STARTED",
"statusUpdatedByUserId": 4
}
DocumentDetailInput
Fields
Input Field | Description |
---|---|
name - String!
|
Required. Sets the document name in Datasaur. Must be unique within a project. |
externalUrl - String
|
Select this if the document is available via URL publicly. |
objectKey - String
|
Select this if the document is in an object storage. To obtain the correct object key, see generateFileUrls. |
Example
{
"name": "abc123",
"externalUrl": "abc123",
"objectKey": "abc123"
}
DocumentFileNameWithPart
Fields
Input Field | Description |
---|---|
fileName - String!
|
Required. The uploaded document filename. |
part - Int!
|
Required. Zero-index numbering up to the limit set in SplitDocumentOptionInput.number . Example: if the limit is 3 , part should be 0 , 1 and 2 . Set this to 0 and SplitDocumentOptionInput to null to skip splitting the document. |
Example
{"fileName": "abc123", "part": 123}
DocumentFinalReport
Fields
Field Name | Description |
---|---|
rowFinalReports - [RowFinalReport!]
|
|
cabinet - Cabinet!
|
|
document - TextDocument!
|
|
finalReport - FinalReport!
|
|
teamMember - TeamMember
|
Example
{
"rowFinalReports": [RowFinalReport],
"cabinet": Cabinet,
"document": TextDocument,
"finalReport": FinalReport,
"teamMember": TeamMember
}
DocumentMeta
Example
{
"id": 123,
"cabinetId": 987,
"name": "abc123",
"width": "xyz789",
"displayed": true,
"labelerRestricted": true,
"rowQuestionIndex": 123
}
DocumentMetaInput
Fields
Input Field | Description |
---|---|
id - Int!
|
|
delete - Boolean
|
|
name - String
|
|
description - String
|
Deprecated. The value in this field will be ignored No longer used. The value in this field will be ignored. |
required - Boolean
|
Deprecated. The value in this field will be ignored No longer used. The value in this field will be ignored. |
multipleChoice - Boolean
|
Deprecated. The value in this field will be ignored No longer used. The value in this field will be ignored. |
displayed - Boolean
|
|
labelerRestricted - Boolean
|
|
options - [DocumentMetaOptionInput!]
|
Deprecated. The value in this field will be ignored No longer used. The value in this field will be ignored. |
type - QuestionType
|
Deprecated. The value in this field will be ignored No longer used. The value in this field will be ignored. |
width - String
|
Example
{
"id": 123,
"delete": true,
"name": "xyz789",
"description": "xyz789",
"required": true,
"multipleChoice": false,
"displayed": true,
"labelerRestricted": false,
"options": [DocumentMetaOptionInput],
"type": "DROPDOWN",
"width": "abc123"
}
DocumentMetaOptionInput
DocumentPredictionInput
DocumentSettingsInput
Fields
Input Field | Description |
---|---|
tokenBasedSettings - TokenBasedDocumentSettingsInput
|
|
rowBasedSettings - RowBasedDocumentSettingsInput
|
Example
{
"tokenBasedSettings": TokenBasedDocumentSettingsInput,
"rowBasedSettings": RowBasedDocumentSettingsInput
}
DocumentStatus
Fields
Field Name | Description |
---|---|
documentId - ID!
|
|
status - TextDocumentStatus
|
Example
{"documentId": 4, "status": "NOT_STARTED"}
DriftThreshold
DropdownConfigOptions
DropdownConfigOptionsInput
EditLlmCustomModelInput
Example
{
"id": 4,
"name": "abc123",
"url": "xyz789",
"apiKey": "abc123",
"maxContextWindow": 123,
"maxTokens": 987,
"maxTemperature": 123.45,
"maxTopP": 123.45
}
EditSentenceConflict
EditSentenceInput
Fields
Input Field | Description |
---|---|
documentId - ID!
|
|
sentenceId - Int!
|
|
signature - String!
|
|
text - String!
|
|
tokenizationMethod - TokenizationMethod
|
Example
{
"documentId": "4",
"sentenceId": 987,
"signature": "abc123",
"text": "xyz789",
"tokenizationMethod": "WINK"
}
EditSentenceResult
Fields
Field Name | Description |
---|---|
document - TextDocument!
|
|
updatedCell - Cell!
|
|
addedLabels - [GqlConflictable!]!
|
|
deletedLabels - [GqlConflictable!]!
|
|
previousSentences - [TextSentence!]!
|
|
addedBoundingBoxLabels - [BoundingBoxLabel!]!
|
|
deletedBoundingBoxLabels - [BoundingBoxLabel!]!
|
Example
{
"document": TextDocument,
"updatedCell": Cell,
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable],
"previousSentences": [TextSentence],
"addedBoundingBoxLabels": [BoundingBoxLabel],
"deletedBoundingBoxLabels": [BoundingBoxLabel]
}
EmbeddingTokenPrices
EmbeddingTokenUsages
EnableExtensionElementsInput
EnableProjectExtensionElementsInput
Fields
Input Field | Description |
---|---|
cabinetId - ID!
|
|
elements - [EnableExtensionElementsInput!]!
|
Example
{
"cabinetId": "4",
"elements": [EnableExtensionElementsInput]
}
EnforceReviewerAutoLabelSettingsInput
EvaluationMetric
EvaluationMetricFilters
ExportActivitiesInput
Fields
Input Field | Description |
---|---|
filter - GetActivitiesFilter!
|
|
sort - [SortInput!]
|
Example
{
"filter": GetActivitiesFilter,
"sort": [SortInput]
}
ExportChartMethod
Values
Enum Value | Description |
---|---|
|
|
|
Example
"EMAIL"
ExportCommentType
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"COMMENT"
ExportDeliveryStatus
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
Example
"DELIVERED"
ExportFileExtensionNamingMode
Values
Enum Value | Description |
---|---|
|
Keeps the original file extension and adds the export format extension. May result in double extensions. Example:
|
|
Removes original file extension and uses only the export format extension. May cause export result collision when there are multiple files of different format with the same name. Example:
|
Example
"LEGACY"
ExportFileTransformerExecuteResult
Description
interface ExportFileTransformerExecuteResult { document: ExportedDocument! }
Example
ExportFileTransformerExecuteResult
ExportLlmEvaluationAutomatedInput
ExportLlmEvaluationManualInput
Fields
Input Field | Description |
---|---|
llmEvaluationId - ID!
|
|
fileName - String
|
|
exportType - GqlLlmManualEvaluationExportType
|
Example
{
"llmEvaluationId": 4,
"fileName": "abc123",
"exportType": "CSV"
}
ExportRequestResult
Description
The result / payload received after initiating an export query.
Fields
Field Name | Description |
---|---|
exportId - ID!
|
The export process ID. Used to check the delivery status via getExportDeliveryStatus , getJob or getJobs . |
fileUrl - String
|
Link to download the export result. It should be used when choosing FILE_STORAGE method. If the URL returns 404, it means the export result has not been uploaded. Check the status by requesting getExportDeliveryStatus query. |
fileUrlExpiredAt - String
|
When exactly the fileUrl will be expired. |
queued - Boolean
|
Deprecated. All exports will be done async so it will be queued. No longer supported |
redirect - String
|
Deprecated. Since the DOWNLOAD method is also deprecated. No longer supported
|
Example
{
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"queued": false,
"redirect": "xyz789"
}
ExportTeamOverviewInput
Fields
Input Field | Description |
---|---|
teamId - String!
|
Required. The team ID to export. See getAllTeams . |
method - GqlExportMethod!
|
Required. How the export result is delivered. |
url - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
secret - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
Example
{
"teamId": "abc123",
"method": "FILE_STORAGE",
"url": "xyz789",
"secret": "abc123"
}
ExportTestProjectResultInput
Fields
Input Field | Description |
---|---|
projectId - String!
|
Required. The project ID to export. See getProjects . |
method - GqlExportMethod!
|
Required. How the export result is delivered. |
url - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
secret - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
externalFileStorageParameter - ExternalFileStorageInput
|
Optional. Use this field when you choose method EXTERNAL_FILE_STORAGE . |
externalObjectStorageParameter - ExternalObjectStorageInput
|
Optional. Use this field when you choose method EXTERNAL_OBJECT_STORAGE . |
Example
{
"projectId": "abc123",
"method": "FILE_STORAGE",
"url": "abc123",
"secret": "xyz789",
"externalFileStorageParameter": ExternalFileStorageInput,
"externalObjectStorageParameter": ExternalObjectStorageInput
}
ExportTextProjectDocumentInput
Fields
Input Field | Description |
---|---|
documentId - String!
|
Required. The document ID to export. See getCabinet . |
customScriptId - ID
|
Deprecated. Please use field fileTransformerId instead. No longer supported
|
fileTransformerId - ID
|
Optional. The file transformer to be used during the export process. Only applicable when format is CUSTOM . Defaults to null . |
format - String!
|
Required. The exported format depends on the project's task, please refer here. Use CUSTOM to export using your team's custom export file transformer, specified in fileTransformerId . |
fileName - String!
|
Required. The filename for the export result. |
method - GqlExportMethod!
|
Required. How the export result is delivered. |
url - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
secret - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
externalFileStorageParameter - ExternalFileStorageInput
|
Optional. Use this field when you choose method EXTERNAL_FILE_STORAGE . |
externalObjectStorageParameter - ExternalObjectStorageInput
|
Optional. Use this field when you choose method EXTERNAL_OBJECT_STORAGE . |
includedCommentType - [ExportCommentType!]
|
Optional. Use this field when you want to export comment and choose the CommentType which you want to export. |
maskPIIEntities - Boolean
|
Optional. Use this field when you want to export project with masking format. |
gcpMlUse - String
|
Optional. Used for GCP_VERTEX_AI_CSV export format. Available values: TEST, TRAINING, VALIDATION |
includeConflicted - Boolean
|
Optional. Set to true if you want to also include conflicted labels and/or answers. |
includeMediaFiles - Boolean
|
Optional. Set to true if you want to also export the media files. |
includeActivity - Boolean
|
Optional. Set to true if you want to also include labeling activities. |
prefixFileNamesWithFolderPath - Boolean
|
Optional. Set to true if you want to add folder path as prefix to file name. |
fileExtensionNamingMode - ExportFileExtensionNamingMode
|
Optional. Used this field to specify how the file will be named. Defaults to LEGACY |
Example
{
"documentId": "abc123",
"customScriptId": 4,
"fileTransformerId": 4,
"format": "xyz789",
"fileName": "xyz789",
"method": "FILE_STORAGE",
"url": "abc123",
"secret": "abc123",
"externalFileStorageParameter": ExternalFileStorageInput,
"externalObjectStorageParameter": ExternalObjectStorageInput,
"includedCommentType": ["COMMENT"],
"maskPIIEntities": true,
"gcpMlUse": "xyz789",
"includeConflicted": false,
"includeMediaFiles": false,
"includeActivity": true,
"prefixFileNamesWithFolderPath": false,
"fileExtensionNamingMode": "LEGACY"
}
ExportTextProjectInput
Fields
Input Field | Description |
---|---|
projectIds - [ID!]!
|
Required. The project(s) to be exported. See getProjects . |
customScriptId - ID
|
Deprecated. Please use field fileTransformerId instead. No longer supported
|
fileTransformerId - ID
|
Optional. The file transformer to be used during the export process. Only applicable when format is CUSTOM . Defaults to null . |
role - Role
|
Required. Export project based on specified role. |
format - String!
|
Required. The exported format depends on the project's task, please refer here. Use CUSTOM to export using your team's custom export file transformer, specified in fileTransformerId . |
fileName - String!
|
Required. The filename for the export result. |
method - GqlExportMethod!
|
Required. How the export result is delivered. |
url - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
secret - String
|
Optional. Use this field when you choose method CUSTOM_WEBHOOK . |
externalFileStorageParameter - ExternalFileStorageInput
|
Optional. Use this field when you choose method EXTERNAL_FILE_STORAGE . |
externalObjectStorageParameter - ExternalObjectStorageInput
|
Optional. Use this field when you choose method EXTERNAL_OBJECT_STORAGE . |
includedCommentType - [ExportCommentType!]
|
Optional. Use this field when you want to export comment and choose the CommentType which you want to export. |
maskPIIEntities - Boolean
|
Optional. Use this field when you want to export project with masking format. |
filteredCabinetRole - Role
|
Optional. Use this field when you want to export cabinets of specified role |
gcpMlUse - String
|
Optional. Used for GCP_VERTEX_AI_CSV export format. Available values: TEST, TRAINING, VALIDATION |
includeConflicted - Boolean
|
Optional. Set to true if you want to also include conflicted labels and/or answers. |
includeMediaFiles - Boolean
|
Optional. Set to true if you want to also export the media files. |
includeActivity - Boolean
|
Optional. Set to true if you want to also include labeling activities. |
prefixFileNamesWithFolderPath - Boolean
|
Optional. Set to true if you want to add folder path as prefix to file name. |
fileExtensionNamingMode - ExportFileExtensionNamingMode
|
Optional. Used this field to specify how the file will be named. Defaults to LEGACY |
Example
{
"projectIds": [4],
"customScriptId": "4",
"fileTransformerId": "4",
"role": "REVIEWER",
"format": "abc123",
"fileName": "abc123",
"method": "FILE_STORAGE",
"url": "abc123",
"secret": "xyz789",
"externalFileStorageParameter": ExternalFileStorageInput,
"externalObjectStorageParameter": ExternalObjectStorageInput,
"includedCommentType": ["COMMENT"],
"maskPIIEntities": true,
"filteredCabinetRole": "REVIEWER",
"gcpMlUse": "abc123",
"includeConflicted": true,
"includeMediaFiles": false,
"includeActivity": false,
"prefixFileNamesWithFolderPath": false,
"fileExtensionNamingMode": "LEGACY"
}
ExportableJSON
Example
ExportableJSON
Extension
ExtensionElement
Fields
Field Name | Description |
---|---|
id - ID!
|
|
enabled - Boolean!
|
|
extension - Extension!
|
|
height - Int!
|
|
order - Int!
|
|
setting - ExtensionElementSetting
|
Example
{
"id": 4,
"enabled": true,
"extension": Extension,
"height": 987,
"order": 987,
"setting": ExtensionElementSetting
}
ExtensionElementSetting
Fields
Field Name | Description |
---|---|
extensionId - ID
|
|
serviceProvider - GqlAutoLabelServiceProvider
|
|
apiURL - String
|
|
confidenceScore - Float
|
|
locked - Boolean
|
|
modelId - String
|
No longer supported |
apiToken - String
|
|
systemPrompt - String
|
|
userPrompt - String
|
|
temperature - String
|
|
topP - String
|
|
model - String
|
|
enableLabelingFunctionMultipleLabel - Boolean
|
|
endpointArn - String
|
No longer supported |
roleArn - String
|
No longer supported |
endpointAwsSagemakerArn - String
|
No longer supported |
awsSagemakerRoleArn - String
|
No longer supported |
externalId - String
|
|
namespace - String
|
|
inputColumns - [Int!]
|
|
questionColumn - Int
|
|
questionColumns - [Int!]
|
|
labelSetIndex - Int
|
|
options - ExtensionElementSettingOptions
|
|
bboxLabelSetId - String
|
|
pageRange - Range
|
Example
{
"extensionId": 4,
"serviceProvider": "CUSTOM",
"apiURL": "abc123",
"confidenceScore": 987.65,
"locked": true,
"modelId": "abc123",
"apiToken": "abc123",
"systemPrompt": "abc123",
"userPrompt": "abc123",
"temperature": "abc123",
"topP": "abc123",
"model": "abc123",
"enableLabelingFunctionMultipleLabel": true,
"endpointArn": "abc123",
"roleArn": "abc123",
"endpointAwsSagemakerArn": "abc123",
"awsSagemakerRoleArn": "abc123",
"externalId": "xyz789",
"namespace": "abc123",
"inputColumns": [987],
"questionColumn": 987,
"questionColumns": [123],
"labelSetIndex": 987,
"options": ExtensionElementSettingOptions,
"bboxLabelSetId": "abc123",
"pageRange": Range
}
ExtensionElementSettingInput
Fields
Input Field | Description |
---|---|
extensionId - ID!
|
|
serviceProvider - GqlAutoLabelServiceProvider
|
|
apiURL - String
|
No longer supported |
bboxLabelSetId - String
|
|
confidenceScore - Float
|
No longer supported |
modelId - String
|
No longer supported |
apiToken - String
|
|
systemPrompt - String
|
|
userPrompt - String
|
|
temperature - String
|
|
topP - String
|
|
model - String
|
|
enableLabelingFunctionMultipleLabel - Boolean
|
|
endpointArn - String
|
No longer supported |
roleArn - String
|
No longer supported |
endpointAwsSagemakerArn - String
|
No longer supported |
awsSagemakerRoleArn - String
|
No longer supported |
externalId - String
|
|
namespace - String
|
|
inputColumns - [Int!]
|
|
questionColumn - Int
|
|
questionColumns - [Int!]
|
|
labelSetIndex - Int
|
|
options - ExtensionElementSettingOptions
|
|
pageRange - RangeInput
|
Example
{
"extensionId": "4",
"serviceProvider": "CUSTOM",
"apiURL": "xyz789",
"bboxLabelSetId": "xyz789",
"confidenceScore": 987.65,
"modelId": "xyz789",
"apiToken": "abc123",
"systemPrompt": "xyz789",
"userPrompt": "xyz789",
"temperature": "abc123",
"topP": "xyz789",
"model": "xyz789",
"enableLabelingFunctionMultipleLabel": true,
"endpointArn": "xyz789",
"roleArn": "xyz789",
"endpointAwsSagemakerArn": "abc123",
"awsSagemakerRoleArn": "xyz789",
"externalId": "abc123",
"namespace": "xyz789",
"inputColumns": [987],
"questionColumn": 987,
"questionColumns": [123],
"labelSetIndex": 123,
"options": ExtensionElementSettingOptions,
"pageRange": RangeInput
}
ExtensionElementSettingOptions
Example
ExtensionElementSettingOptions
ExtensionGroup
Fields
Field Name | Description |
---|---|
kind - ProjectKind!
|
|
extensions - [Extension!]!
|
Example
{"kind": "DOCUMENT_BASED", "extensions": [Extension]}
ExtensionID
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AUTO_LABEL_TOKEN_EXTENSION_ID"
ExternalFile
ExternalFileStorageInput
ExternalId
ExternalObjectStorage
Fields
Field Name | Description |
---|---|
id - ID!
|
|
cloudService - ObjectStorageClientName!
|
|
bucketId - String
|
|
bucketName - String!
|
|
credentials - ExternalObjectStorageCredentials!
|
|
securityToken - String
|
|
team - Team!
|
|
projects - [Project]
|
|
createdAt - DateTime!
|
|
updatedAt - DateTime!
|
Example
{
"id": "4",
"cloudService": "AWS_S3",
"bucketId": "xyz789",
"bucketName": "abc123",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "xyz789",
"team": Team,
"projects": [Project],
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
ExternalObjectStorageCredentials
Fields
Field Name | Description |
---|---|
roleArn - String
|
Required for AWS S3 only. Role ARN that has been assigned with policy to access the S3 bucket |
externalId - String
|
Required for AWS S3 only. External ID for the role |
serviceAccount - String
|
Required for Google Cloud Storage only. Service account that has been registered on the cloud storage bucket |
tenantId - String
|
Required for Azure Blob Storage only. Azure Active Directory Tenant ID |
storageContainerUrl - String
|
Required for Azure Blob Storage only. URL of the Blob Storage Container |
region - String
|
Required for OpenText IMS only. Region of the organization |
tenantUsername - String
|
Required for OpenText IMS only. Username of tenant's user/admin |
Example
{
"roleArn": "xyz789",
"externalId": "xyz789",
"serviceAccount": "xyz789",
"tenantId": "abc123",
"storageContainerUrl": "xyz789",
"region": "abc123",
"tenantUsername": "xyz789"
}
ExternalObjectStorageCredentialsInput
Fields
Input Field | Description |
---|---|
roleArn - String
|
Required for AWS S3 only. Role ARN that has been assigned with policy to access the S3 bucket |
externalId - String
|
Required for AWS S3 only. External ID for the role |
serviceAccount - String
|
Required for Google Cloud Storage only. Service account that has been registered on the cloud storage bucket |
tenantId - String
|
Required for Azure Blob Storage only. Azure Active Directory Tenant ID |
storageContainerUrl - String
|
Required for Azure Blob Storage only. URL of the Blob Storage Container |
region - String
|
Required for OpenText IMS only. Region of the organization |
clientId - String
|
Required for OpenText IMS only. Service Confidential Client ID of the Application |
clientSecret - String
|
Required for OpenText IMS only. Service Client Secret of the Application |
tenantUsername - String
|
Required for OpenText IMS only. Username of tenant's user/admin |
tenantPassword - String
|
Required for OpenText IMS only. Password of the tenant for that specific user |
refreshToken - String
|
Required for Google Drive and Dropbox only. Refresh Token of the user |
redirectUri - String
|
Required for Google Drive and Dropbox only. Redirect uri that handle user authorization |
Example
{
"roleArn": "xyz789",
"externalId": "abc123",
"serviceAccount": "xyz789",
"tenantId": "abc123",
"storageContainerUrl": "xyz789",
"region": "abc123",
"clientId": "abc123",
"clientSecret": "xyz789",
"tenantUsername": "abc123",
"tenantPassword": "xyz789",
"refreshToken": "xyz789",
"redirectUri": "xyz789"
}
ExternalObjectStorageInput
Example
{
"externalObjectStorageId": "xyz789",
"prefix": "xyz789"
}
FileTransformer
Example
{
"id": "4",
"name": "xyz789",
"content": "abc123",
"transpiled": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": true,
"externalId": "xyz789",
"warmup": false
}
FileTransformerLanguage
Values
Enum Value | Description |
---|---|
|
Example
"TYPESCRIPT"
FileTransformerPurpose
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"IMPORT"
FileUrlInfo
FinalReport
Example
{
"totalAppliedLabels": 987,
"totalAcceptedLabels": 987,
"totalRejectedLabels": 123,
"totalResolvedLabels": 123,
"precision": 987.65,
"recall": 987.65
}
Float
Description
The Float
scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
123.45
FloatOrString
Example
FloatOrString
FontSize
Values
Enum Value | Description |
---|---|
|
|
|
|
|
|
|
Example
"SMALL"
FontType
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"SANS_SERIF"
FreeTrialQuotaResponse
Fields
Field Name | Description |
---|---|
runPromptCurrentAmount - Int!
|
|
runPromptMaxAmount - Int!
|
|
runPromptUnit - String!
|
|
embedDocumentCurrentAmount - Float!
|
|
embedDocumentMaxAmount - Float!
|
|
embedDocumentUnit - String!
|
|
embedDocumentUrlCurrentAmount - Int!
|
|
embedDocumentUrlMaxAmount - Int!
|
|
embedDocumentUrlUnit - String!
|
|
llmEvaluationCurrentAmount - Int!
|
|
llmEvaluationMaxAmount - Int!
|
|
llmEvaluationUnit - String!
|
|
llmFineTuningCreationCurrentAmount - Int!
|
|
llmFineTuningCreationMaxAmount - Int!
|
|
llmFineTuningCreationUnit - String!
|
|
llmFineTuningDeploymentCurrentAmount - Int!
|
|
llmFineTuningDeploymentMaxAmount - Int!
|
|
llmFineTuningDeploymentUnit - String!
|
Example
{
"runPromptCurrentAmount": 123,
"runPromptMaxAmount": 987,
"runPromptUnit": "abc123",
"embedDocumentCurrentAmount": 987.65,
"embedDocumentMaxAmount": 123.45,
"embedDocumentUnit": "abc123",
"embedDocumentUrlCurrentAmount": 123,
"embedDocumentUrlMaxAmount": 987,
"embedDocumentUrlUnit": "abc123",
"llmEvaluationCurrentAmount": 123,
"llmEvaluationMaxAmount": 987,
"llmEvaluationUnit": "abc123",
"llmFineTuningCreationCurrentAmount": 123,
"llmFineTuningCreationMaxAmount": 987,
"llmFineTuningCreationUnit": "xyz789",
"llmFineTuningDeploymentCurrentAmount": 987,
"llmFineTuningDeploymentMaxAmount": 987,
"llmFineTuningDeploymentUnit": "xyz789"
}
GeneralWorkspaceSettings
Fields
Field Name | Description |
---|---|
id - ID!
|
|
editorFontType - FontType!
|
|
editorFontSize - FontSize!
|
|
editorLineSpacing - GeneralWorkspaceSettingsLineSpacing
|
|
editorLineSpacingRatio - Float!
|
|
showIndexBar - Boolean!
|
|
showLabels - GeneralWorkspaceSettingsShowLabels
|
|
keepLabelBoxOpenAfterRelabel - Boolean
|
|
jumpToNextDocumentOnSubmit - Boolean
|
|
jumpToNextDocumentOnDocumentCompleted - Boolean
|
|
jumpToNextSpanOnSubmit - Boolean
|
|
multipleSelectLabels - Boolean
|
Example
{
"id": "4",
"editorFontType": "SANS_SERIF",
"editorFontSize": "SMALL",
"editorLineSpacing": "DENSE",
"editorLineSpacingRatio": 987.65,
"showIndexBar": true,
"showLabels": "ALWAYS",
"keepLabelBoxOpenAfterRelabel": false,
"jumpToNextDocumentOnSubmit": true,
"jumpToNextDocumentOnDocumentCompleted": true,
"jumpToNextSpanOnSubmit": false,
"multipleSelectLabels": false
}
GeneralWorkspaceSettingsInput
Fields
Input Field | Description |
---|---|
editorFontType - FontType
|
|
editorFontSize - FontSize
|
|
editorLineSpacing - GeneralWorkspaceSettingsLineSpacing
|
|
editorLineSpacingRatio - Float
|
|
showIndexBar - Boolean
|
|
showLabels - GeneralWorkspaceSettingsShowLabels
|
|
keepLabelBoxOpenAfterRelabel - Boolean
|
|
jumpToNextDocumentOnSubmit - Boolean
|
|
jumpToNextDocumentOnDocumentCompleted - Boolean
|
|
jumpToNextSpanOnSubmit - Boolean
|
|
multipleSelectLabels - Boolean
|
Example
{
"editorFontType": "SANS_SERIF",
"editorFontSize": "SMALL",
"editorLineSpacing": "DENSE",
"editorLineSpacingRatio": 987.65,
"showIndexBar": false,
"showLabels": "ALWAYS",
"keepLabelBoxOpenAfterRelabel": false,
"jumpToNextDocumentOnSubmit": true,
"jumpToNextDocumentOnDocumentCompleted": true,
"jumpToNextSpanOnSubmit": true,
"multipleSelectLabels": false
}
GeneralWorkspaceSettingsLineSpacing
Values
Enum Value | Description |
---|---|
|
|
|
|
|
Example
"DENSE"
GeneralWorkspaceSettingsShowLabels
Values
Enum Value | Description |
---|---|
|
|
|
Example
"ALWAYS"
GenerateFileUrlsInput
Fields
Input Field | Description |
---|---|
fileNames - [String!]!
|
Example
{"fileNames": ["xyz789"]}
GetActivitiesFilter
GetActivitiesInput
Fields
Input Field | Description |
---|---|
cursor - String
|
|
page - CursorPageInput
|
|
filter - GetActivitiesFilter!
|
|
sort - [SortInput!]
|
Example
{
"cursor": "xyz789",
"page": CursorPageInput,
"filter": GetActivitiesFilter,
"sort": [SortInput]
}
GetActivitiesResponse
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [ActivityEvent!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ActivityEvent]
}
GetActivitiesSuggestionInput
Fields
Input Field | Description |
---|---|
teamId - ID!
|
|
scope - ActivitySuggestionScope!
|
|
keyword - String!
|
Example
{
"teamId": 4,
"scope": "PROJECT",
"keyword": "abc123"
}
GetActivitiesSuggestionResponse
Fields
Field Name | Description |
---|---|
suggestions - [ActivitySuggestion!]!
|
Example
{"suggestions": [ActivitySuggestion]}
GetAnalyticsPerformanceInput
GetBBoxLabelsPaginatedInput
Fields
Input Field | Description |
---|---|
cursor - String
|
|
page - OffsetPageInput
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput
}
GetBBoxLabelsPaginatedResponse
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [BBoxLabel!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [BBoxLabel]
}
GetBoundingBoxConflictListResult
Fields
Field Name | Description |
---|---|
upToDate - Boolean!
|
|
items - [ConflictBoundingBoxLabel!]!
|
Example
{"upToDate": true, "items": [ConflictBoundingBoxLabel]}
GetCellPositionsByMetadataFilter
Fields
Input Field | Description |
---|---|
metadata - [CellMetadataInput!]!
|
Filter Cells by metadata. The filtered Cell must have ALL the specified metadata. |
Example
{"metadata": [CellMetadataInput]}
GetCellPositionsByMetadataPaginatedInput
Fields
Input Field | Description |
---|---|
page - RangePageInput
|
Filter Cells whose line is within start (inclusive) and end (exclusive). Cell's line is 0-based indexed. |
filter - GetCellPositionsByMetadataFilter
|
Filter Cells by the specified parameters. |
Example
{
"page": RangePageInput,
"filter": GetCellPositionsByMetadataFilter
}
GetCellPositionsByMetadataPaginatedResponse
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
Total number of Cells that matches the applied filter. |
pageInfo - PageInfo!
|
|
nodes - [CellPositionWithOriginDocumentId!]!
|
List of Cell positions along with the origin document ID. See type CellPositionWithOriginDocumentId . |
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [CellPositionWithOriginDocumentId]
}
GetCellsFilterInput
Fields
Input Field | Description |
---|---|
statuses - [CellStatus!]
|
Example
{"statuses": ["DISPLAYED"]}
GetCellsPaginatedInput
Fields
Input Field | Description |
---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetCellsFilterInput
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetCellsFilterInput
}
GetCellsPaginatedResponse
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [CellScalar!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [CellScalar]
}
GetCommentsFilterInput
GetCommentsInput
Fields
Input Field | Description |
---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetCommentsFilterInput
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetCommentsFilterInput,
"sort": [SortInput]
}
GetCommentsResponse
Fields
Field Name | Description |
---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [Comment!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [Comment]
}
GetConfusionMatrixTablesInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
projectKinds - [ProjectKind!]!
|
|
caseId - String!
|
|
filters - EvaluationMetricFilters
|
Example
{
"projectId": "4",
"projectKinds": ["DOCUMENT_BASED"],
"caseId": "xyz789",
"filters": EvaluationMetricFilters
}
GetCurrentUserTeamMemberInput
Fields
Input Field | Description |
---|---|
teamId - ID!
|
Example
{"teamId": 4}
GetCustomModelDefaultDataInput
GetDataProgrammingInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
kind - ProjectKind!
|
|
provider - DataProgrammingProvider
|
|
labels - [DataProgrammingLabelInput!]!
|
Example
{
"projectId": "4",
"kind": "DOCUMENT_BASED",
"provider": "SNORKEL",
"labels": [DataProgrammingLabelInput]
}
GetDataProgrammingLabelingFunctionAnalysisInput
GetDataProgrammingPredictionsInput
Fields
Input Field | Description |
---|---|
dataProgrammingId - ID!
|
|
labelingFunctionIds - [ID!]
|
|
documents - [DocumentPredictionInput!]!
|
Example
{
"dataProgrammingId": "4",
"labelingFunctionIds": ["4"],
"documents": [DocumentPredictionInput]
}
GetDatasaurDinamicRowBasedInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
provider - DatasaurDinamicRowBasedProvider!
|
|
questionColumnId - Int!
|
Example
{"projectId": 4, "provider": "HUGGINGFACE", "questionColumnId": 123}
GetDatasaurDinamicTokenBasedInput
Fields
Input Field | Description |
---|---|
projectId - ID!
|
|
provider - DatasaurDinamicTokenBasedProvider!
|
|
targetLabelSetIndex - Int!
|