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": true}}
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": "abc123",
"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": ["xyz789"],
"lang": "abc123"
}
Response
{
"data": {
"dictionaryLookupBatch": [
{
"word": "abc123",
"lang": "xyz789",
"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": "xyz789"
}
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
key
queued
redirect
}
}
Variables
{"input": ExportActivitiesInput}
Response
{
"data": {
"exportActivities": {
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"key": "xyz789",
"queued": true,
"redirect": "abc123"
}
}
}
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
key
queued
redirect
}
}
Variables
{
"id": "4",
"input": AnalyticsDashboardQueryInput,
"method": "EMAIL"
}
Response
{
"data": {
"exportChart": {
"exportId": "4",
"fileUrl": "xyz789",
"fileUrlExpiredAt": "abc123",
"key": "abc123",
"queued": true,
"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
key
queued
redirect
}
}
Variables
{
"teamId": "4",
"input": CustomReportBuilderInput
}
Response
{
"data": {
"exportCustomReport": {
"exportId": 4,
"fileUrl": "abc123",
"fileUrlExpiredAt": "xyz789",
"key": "abc123",
"queued": false,
"redirect": "abc123"
}
}
}
exportLlmApplicationDeploymentLog
Response
Returns an ExportRequestResult!
Arguments
| Name | Description |
|---|---|
input - ExportLlmApplicationDeploymentLogInput!
|
Example
Query
query ExportLlmApplicationDeploymentLog($input: ExportLlmApplicationDeploymentLogInput!) {
exportLlmApplicationDeploymentLog(input: $input) {
exportId
fileUrl
fileUrlExpiredAt
key
queued
redirect
}
}
Variables
{"input": ExportLlmApplicationDeploymentLogInput}
Response
{
"data": {
"exportLlmApplicationDeploymentLog": {
"exportId": 4,
"fileUrl": "xyz789",
"fileUrlExpiredAt": "abc123",
"key": "abc123",
"queued": false,
"redirect": "xyz789"
}
}
}
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
key
queued
redirect
}
}
Variables
{"input": ExportLlmEvaluationAutomatedInput}
Response
{
"data": {
"exportLlmEvaluationAutomated": {
"exportId": "4",
"fileUrl": "xyz789",
"fileUrlExpiredAt": "xyz789",
"key": "abc123",
"queued": false,
"redirect": "xyz789"
}
}
}
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
key
queued
redirect
}
}
Variables
{"input": ExportLlmEvaluationManualInput}
Response
{
"data": {
"exportLlmEvaluationManual": {
"exportId": 4,
"fileUrl": "xyz789",
"fileUrlExpiredAt": "abc123",
"key": "xyz789",
"queued": true,
"redirect": "abc123"
}
}
}
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
key
queued
redirect
}
}
Variables
{
"teamId": 4,
"labelSetSignatures": ["xyz789"],
"method": "COHENS_KAPPA",
"projectIds": [4]
}
Response
{
"data": {
"exportTeamIAA": {
"exportId": "4",
"fileUrl": "xyz789",
"fileUrlExpiredAt": "xyz789",
"key": "xyz789",
"queued": false,
"redirect": "xyz789"
}
}
}
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
key
queued
redirect
}
}
Variables
{"input": IAAInput}
Response
{
"data": {
"exportTeamIAAV2": {
"exportId": "4",
"fileUrl": "abc123",
"fileUrlExpiredAt": "xyz789",
"key": "xyz789",
"queued": true,
"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
key
queued
redirect
}
}
Variables
{"input": ExportTeamOverviewInput}
Response
{
"data": {
"exportTeamOverview": {
"exportId": 4,
"fileUrl": "xyz789",
"fileUrlExpiredAt": "xyz789",
"key": "abc123",
"queued": true,
"redirect": "xyz789"
}
}
}
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
key
queued
redirect
}
}
Variables
{"input": ExportTestProjectResultInput}
Response
{
"data": {
"exportTestProjectResult": {
"exportId": 4,
"fileUrl": "xyz789",
"fileUrlExpiredAt": "xyz789",
"key": "xyz789",
"queued": false,
"redirect": "abc123"
}
}
}
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
key
queued
redirect
}
}
Variables
{"input": ExportTextProjectInput}
Response
{
"data": {
"exportTextProject": {
"exportId": "4",
"fileUrl": "xyz789",
"fileUrlExpiredAt": "xyz789",
"key": "abc123",
"queued": true,
"redirect": "abc123"
}
}
}
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
key
queued
redirect
}
}
Variables
{"input": ExportTextProjectDocumentInput}
Response
{
"data": {
"exportTextProjectDocument": {
"exportId": "4",
"fileUrl": "abc123",
"fileUrlExpiredAt": "abc123",
"key": "xyz789",
"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": "xyz789",
"downloadUrl": "abc123",
"fileName": "xyz789"
}
]
}
}
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": 987,
"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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "abc123"
}
}
getAnalyticsPerformance
Response
Returns a GetAnalyticsPerformanceResult!
Arguments
| Name | Description |
|---|---|
input - GetAnalyticsPerformanceInput!
|
Example
Query
query GetAnalyticsPerformance($input: GetAnalyticsPerformanceInput!) {
getAnalyticsPerformance(input: $input) {
documentStatus {
documentId
status
}
numberOfMissedLabels
numberOfAnsweredLines
activeDurationInMillis
projectStatisticsPerLabelType {
kind
labelEntityType
applied
conflicted
accepted
rejected
}
}
}
Variables
{"input": GetAnalyticsPerformanceInput}
Response
{
"data": {
"getAnalyticsPerformance": {
"documentStatus": [DocumentStatus],
"numberOfMissedLabels": 987,
"numberOfAnsweredLines": 987,
"activeDurationInMillis": 123,
"projectStatisticsPerLabelType": [
ProjectStatisticPerLabelType
]
}
}
}
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
}
providerRawResponse {
provider
completionChoices {
...ExtendedChatCompletionChoiceFragment
}
}
}
}
Variables
{"input": AutoLabelTokenBasedInput}
Response
{
"data": {
"getAutoLabel": [
{
"label": "abc123",
"deleted": true,
"layer": 987,
"start": TextCursor,
"end": TextCursor,
"confidenceScore": 987.65,
"error": AutoLabelError,
"providerRawResponse": LLMLabsResponse
}
]
}
}
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
}
providerRawResponse {
provider
completionChoices {
...ExtendedChatCompletionChoiceFragment
}
}
}
}
Variables
{"input": AutoLabelBBoxBasedInput}
Response
{
"data": {
"getAutoLabelBBoxBased": [
{
"id": "4",
"documentId": 4,
"bboxLabelClassId": 4,
"caption": "abc123",
"shapes": [BBoxShape],
"confidenceScore": 123.45,
"error": AutoLabelError,
"providerRawResponse": LLMLabsResponse
}
]
}
}
getAutoLabelDocBased
Response
Returns an AutoLabelDocBasedOutput!
Arguments
| Name | Description |
|---|---|
input - AutoLabelDocBasedInput
|
Example
Query
query GetAutoLabelDocBased($input: AutoLabelDocBasedInput) {
getAutoLabelDocBased(input: $input) {
documentId
answers
providerRawResponse {
provider
completionChoices {
...ExtendedChatCompletionChoiceFragment
}
}
}
}
Variables
{"input": AutoLabelDocBasedInput}
Response
{
"data": {
"getAutoLabelDocBased": {
"documentId": 4,
"answers": AnswerScalar,
"providerRawResponse": LLMLabsResponse
}
}
}
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
}
providerRawResponse {
provider
completionChoices {
...ExtendedChatCompletionChoiceFragment
}
}
}
}
Variables
{"input": AutoLabelRowBasedInput}
Response
{
"data": {
"getAutoLabelRowBased": [
{
"id": 123,
"label": "abc123",
"error": AutoLabelError,
"providerRawResponse": LLMLabsResponse
}
]
}
}
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": "abc123",
"isExpired": false
}
}
}
getBBoxLabelConflictContributorIds
Response
Returns [ConflictContributorIds!]!
Example
Query
query GetBBoxLabelConflictContributorIds(
$documentId: ID!,
$labelHashCodes: [String!]
) {
getBBoxLabelConflictContributorIds(
documentId: $documentId,
labelHashCodes: $labelHashCodes
) {
labelHashCode
contributorIds
contributorInfos {
id
labelPhase
acceptedByUserId
rejectedByUserId
userId
teamMemberId
}
}
}
Variables
{
"documentId": "4",
"labelHashCodes": ["abc123"]
}
Response
{
"data": {
"getBBoxLabelConflictContributorIds": [
{
"labelHashCode": "xyz789",
"contributorIds": [987],
"contributorInfos": [ContributorInfo]
}
]
}
}
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": "abc123",
"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
labeledBy
labeledByUserId
}
}
Variables
{"documentId": 4}
Response
{
"data": {
"getBBoxLabelsByDocument": [
{
"id": "4",
"documentId": 4,
"bboxLabelClassId": "4",
"deleted": false,
"caption": "xyz789",
"shapes": [BBoxShape],
"answers": AnswerScalar,
"labeledBy": "PRELABELED",
"labeledByUserId": "4"
}
]
}
}
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
labeledBy
labeledByUserId
}
}
}
Variables
{"documentId": 4, "input": GetBBoxLabelsPaginatedInput}
Response
{
"data": {
"getBBoxLabelsPaginated": {
"totalCount": 123,
"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": 987,
"endCellLine": 987
}
Response
{
"data": {
"getBoundingBoxLabels": [
{
"id": 4,
"documentId": "4",
"coordinates": [Coordinate],
"counter": 987,
"pageIndex": 987,
"layer": 987,
"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": 987, "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
enablePrelabeledDraft
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
}
kinds
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": "xyz789",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": "4",
"type": "CUSTOM",
"description": "xyz789",
"imagePreviewURL": "abc123",
"videoURL": "abc123"
}
]
}
}
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": true
}
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": [123]
}
]
}
}
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": 123,
"signature": "xyz789",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": true,
"leafOnlyOption": false
}
]
}
}
getCellMetadataKeys
Response
Returns [String!]!
Example
Query
query GetCellMetadataKeys(
$documentId: ID!,
$signature: String
) {
getCellMetadataKeys(
documentId: $documentId,
signature: $signature
)
}
Variables
{"documentId": 4, "signature": "xyz789"}
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": 123,
"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": 987,
"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": "abc123",
"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": "abc123"
}
}
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": 123,
"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": "abc123",
"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": 987,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 987,
"conflictResolutionMode": "MANUAL",
"consensus": 123,
"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": "abc123",
"teamId": 4,
"appVersion": "xyz789",
"creatorId": 4,
"lastRunAt": "abc123",
"lastFinishedAt": "abc123",
"externalObjectStorageId": 4,
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": 4,
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["abc123"],
"numberOfLabelersPerProject": 987,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 123,
"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": "abc123",
"invitationStatus": "xyz789",
"invitationKey": "abc123",
"isDeleted": true,
"joinedDate": "xyz789",
"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": "abc123",
"name": "abc123",
"purpose": "ASR_API"
}
]
}
}
getCustomEmbeddingModelDefaultData
Response
Returns a CustomEmbeddingModelDefaultData!
Arguments
| Name | Description |
|---|---|
input - GetCustomEmbeddingDefaultDataInput!
|
Example
Query
query GetCustomEmbeddingModelDefaultData($input: GetCustomEmbeddingDefaultDataInput!) {
getCustomEmbeddingModelDefaultData(input: $input) {
name
dimension
}
}
Variables
{"input": GetCustomEmbeddingDefaultDataInput}
Response
{
"data": {
"getCustomEmbeddingModelDefaultData": {
"name": "abc123",
"dimension": 123
}
}
}
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": 123,
"maxTokens": 123,
"maxTemperature": 123.45,
"maxTopP": 987.65
}
}
}
getCustomReportFilterFieldSuggestions
Response
Returns a CustomReportSuggestions!
Arguments
| Name | Description |
|---|---|
input - CustomReportFilterFieldSuggestionsInput!
|
Example
Query
query GetCustomReportFilterFieldSuggestions($input: CustomReportFilterFieldSuggestionsInput!) {
getCustomReportFilterFieldSuggestions(input: $input) {
column
suggestions {
id
label
groupId
}
}
}
Variables
{"input": CustomReportFilterFieldSuggestionsInput}
Response
{
"data": {
"getCustomReportFilterFieldSuggestions": {
"column": "DATE",
"suggestions": [CustomReportSuggestion]
}
}
}
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
|
|
debugMode - Boolean
|
Example
Query
query GetCustomReportMetricsGroupTables(
$dataSet: CustomReportDataSet,
$debugMode: Boolean
) {
getCustomReportMetricsGroupTables(
dataSet: $dataSet,
debugMode: $debugMode
) {
id
name
description
clientSegments
metrics
filterStrategies
hiddenFilters
}
}
Variables
{"dataSet": "METABASE", "debugMode": false}
Response
{
"data": {
"getCustomReportMetricsGroupTables": [
{
"id": "4",
"name": "abc123",
"description": "xyz789",
"clientSegments": ["DATE"],
"metrics": ["LABELS_ACCURACY"],
"filterStrategies": ["CONTAINS"],
"hiddenFilters": ["DATE"]
}
]
}
}
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]
}
}
}
getCustomReportPreviewFromExport
Response
Returns a CustomReportPreviewResponse!
Arguments
| Name | Description |
|---|---|
input - CustomReportPreviewInput!
|
Example
Query
query GetCustomReportPreviewFromExport($input: CustomReportPreviewInput!) {
getCustomReportPreviewFromExport(input: $input) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes
}
}
Variables
{"input": CustomReportPreviewInput}
Response
{
"data": {
"getCustomReportPreviewFromExport": {
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [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": "xyz789",
"labels": [DataProgrammingLabel],
"createdAt": "xyz789",
"updatedAt": "abc123",
"lastGetPredictionsAt": "xyz789"
}
}
}
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": 123.45,
"overlap": 987.65,
"polarity": [123]
}
]
}
}
getDataProgrammingLibraries
Response
Returns a DataProgrammingLibraries!
Example
Query
query GetDataProgrammingLibraries {
getDataProgrammingLibraries {
libraries
}
}
Response
{
"data": {
"getDataProgrammingLibraries": {
"libraries": ["xyz789"]
}
}
}
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": "xyz789",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "abc123",
"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": "xyz789",
"updatedAt": "xyz789"
}
}
}
getDatasaurDinamicRowBasedProviders
Response
Example
Query
query GetDatasaurDinamicRowBasedProviders {
getDatasaurDinamicRowBasedProviders {
name
provider
}
}
Response
{
"data": {
"getDatasaurDinamicRowBasedProviders": [
{
"name": "xyz789",
"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": 123,
"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": 987,
"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": "abc123",
"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
}
labelPhase
acceptedByUserId
rejectedByUserId
}
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
labeledByUserId
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": 987,
"cabinetId": 987,
"name": "abc123",
"width": "xyz789",
"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": ["xyz789"]}}
getDocumentPredictedAnswers
Response
Returns a DocumentAnswer!
Arguments
| Name | Description |
|---|---|
documentId - ID!
|
Example
Query
query GetDocumentPredictedAnswers($documentId: ID!) {
getDocumentPredictedAnswers(documentId: $documentId) {
documentId
answers
metadata {
path
labeledBy
labeledByUserId
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": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": false,
"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": [123]
}
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": false}
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": "abc123",
"updatedAt": "abc123",
"isDeleted": false,
"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": "abc123"}
Response
{
"data": {
"getExtensions": [
{
"id": "abc123",
"title": "xyz789",
"url": "xyz789",
"elementType": "abc123",
"elementKind": "xyz789",
"documentType": "xyz789"
}
]
}
}
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": "abc123",
"url": "xyz789"
}
]
}
}
getExternalId
Description
Required for AWS S3
Response
Returns an ExternalId!
Example
Query
query GetExternalId {
getExternalId {
externalId
timeLimit
}
}
Response
{
"data": {
"getExternalId": {
"externalId": "xyz789",
"timeLimit": 987
}
}
}
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": "xyz789",
"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": "xyz789",
"content": "xyz789",
"transpiled": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "abc123",
"warmup": true
}
}
}
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": "abc123",
"transpiled": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": true,
"externalId": "abc123",
"warmup": true
}
]
}
}
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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "xyz789",
"displayName": "abc123",
"url": "abc123",
"region": ["xyz789"],
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 123,
"maxContextWindow": 987,
"defaultTemperature": 123.45,
"defaultTopP": 123.45,
"defaultMaxTokens": 123,
"minTemperature": 987.65,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
getFineTunedModelResultUrl
Description
Get the URL of the fine-tuned model result
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": 987,
"runPromptMaxAmount": 987,
"runPromptUnit": "abc123",
"embedDocumentCurrentAmount": 123.45,
"embedDocumentMaxAmount": 123.45,
"embedDocumentUnit": "xyz789",
"embedDocumentUrlCurrentAmount": 123,
"embedDocumentUrlMaxAmount": 123,
"embedDocumentUrlUnit": "abc123",
"llmEvaluationCurrentAmount": 123,
"llmEvaluationMaxAmount": 123,
"llmEvaluationUnit": "abc123",
"llmFineTuningCreationCurrentAmount": 987,
"llmFineTuningCreationMaxAmount": 123,
"llmFineTuningCreationUnit": "abc123",
"llmFineTuningDeploymentCurrentAmount": 987,
"llmFineTuningDeploymentMaxAmount": 123,
"llmFineTuningDeploymentUnit": "xyz789"
}
}
}
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": true,
"jumpToNextDocumentOnSubmit": false,
"jumpToNextDocumentOnDocumentCompleted": false,
"jumpToNextSpanOnSubmit": true,
"multipleSelectLabels": true
}
}
}
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": "abc123",
"description": "xyz789"
}
]
}
}
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": "xyz789",
"message": "xyz789",
"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": 123,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
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": "xyz789",
"content": "abc123",
"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": ["abc123"],
"method": "COHENS_KAPPA",
"projectIds": [4]
}
Response
{"data": {"getIAALastUpdatedAt": "xyz789"}}
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": "xyz789",
"lines": [123]
}
]
}
}
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": "xyz789",
"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": "abc123",
"updatedAt": "xyz789",
"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": ["xyz789"]}
Response
{
"data": {
"getJobs": [
{
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "xyz789",
"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": 987,
"errorPossibility": 123.45,
"suggestedLabel": "abc123",
"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": 123,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"leafOnlyOption": true
}
}
}
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": 987,
"signature": "xyz789",
"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": "abc123",
"projectName": "abc123",
"projectResourceId": "abc123",
"labelingAgentId": "abc123",
"labelingAgent": LabelingAgent,
"jobType": "CABINET_CREATION",
"jobStatus": "DELIVERED",
"progress": 123,
"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": "abc123",
"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": "xyz789"
}
]
}
}
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
cached
}
}
Variables
{"input": GetLabelingFunctionInput}
Response
{
"data": {
"getLabelingFunction": {
"id": 4,
"dataProgrammingId": 4,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "abc123",
"active": true,
"createdAt": "abc123",
"updatedAt": "xyz789",
"cached": true
}
}
}
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
cached
}
}
Variables
{"input": GetLabelingFunctionsInput}
Response
{
"data": {
"getLabelingFunctions": [
{
"id": 4,
"dataProgrammingId": 4,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "abc123",
"active": false,
"createdAt": "abc123",
"updatedAt": "xyz789",
"cached": true
}
]
}
}
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
Description
Fetch span and arrow labels by document ID. totalCount is only calculated on the first page (skip: 0).
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": 987,
"pageInfo": PageInfo,
"nodes": [TextLabelScalar]
}
}
}
getLabelsPaginatedByLine
Description
Fetch span and arrow labels by document ID and line number.
Response
Returns a GetLabelsPaginatedResponse!
Arguments
| Name | Description |
|---|---|
documentId - ID!
|
|
input - GetLabelsPaginatedByLineInput!
|
|
signature - String
|
Example
Query
query GetLabelsPaginatedByLine(
$documentId: ID!,
$input: GetLabelsPaginatedByLineInput!,
$signature: String
) {
getLabelsPaginatedByLine(
documentId: $documentId,
input: $input,
signature: $signature
) {
totalCount
pageInfo {
prevCursor
nextCursor
}
nodes
}
}
Variables
{
"documentId": "4",
"input": GetLabelsPaginatedByLineInput,
"signature": "abc123"
}
Response
{
"data": {
"getLabelsPaginatedByLine": {
"totalCount": 987,
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": "abc123",
"name": "xyz789",
"status": "SUSPENDED",
"createdAt": "abc123",
"updatedAt": "abc123",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": true
}
}
}
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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "xyz789",
"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": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getLlmApplicationConfiguration": {
"id": 4,
"name": "xyz789",
"teamId": 4,
"createdByUserId": "4",
"updatedByUserId": 4,
"updatedByUser": User,
"llmRagConfigId": "4",
"llmRagConfig": LlmRagConfig,
"createdAt": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": 987,
"numberOfTokens": 987,
"numberOfInputTokens": 987,
"numberOfOutputTokens": 123,
"deployedAt": "xyz789",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": 123,
"numberOfTokens": 987,
"numberOfInputTokens": 987,
"numberOfOutputTokens": 987,
"deployedAt": "abc123",
"name": "xyz789",
"status": "SUSPENDED",
"createdAt": "xyz789",
"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": 123,
"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": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
}
}
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": "xyz789",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachment
],
"createdAt": "abc123",
"updatedAt": "abc123"
}
]
}
}
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": "abc123",
"createdAt": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"id": 4}
Response
{
"data": {
"getLlmApplicationPlaygroundRagConfig": {
"id": "4",
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "abc123",
"createdAt": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"llmApplicationId": "4"}
Response
{
"data": {
"getLlmApplicationPlaygroundRagConfigs": [
{
"id": 4,
"llmApplicationId": "4",
"llmRagConfig": LlmRagConfig,
"name": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
]
}
}
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": 123,
"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": "abc123",
"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
instanceTypes
defaultTrainingInstanceType
trainingVolumeSize
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getLlmBaseModels": [
{
"id": 4,
"baseModelIdentifier": "xyz789",
"customModelIdentifier": "abc123",
"teamId": "4",
"name": "xyz789",
"serviceProvider": "AMAZON_BEDROCK",
"provider": "AMAZON",
"region": "xyz789",
"methodTypes": ["FINE_TUNING"],
"supportedDatasetTypes": ["COMPLETION"],
"supportedHyperparameters": [
LlmBaseModelHyperparameter
],
"pricingModels": [LlmBaseModelPricingModel],
"deployable": false,
"requireSubscriptionPlan": true,
"supportsValidationDataset": false,
"instanceTypes": ["xyz789"],
"defaultTrainingInstanceType": "abc123",
"trainingVolumeSize": 987.65
}
]
}
}
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": "xyz789",
"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": "xyz789",
"displayName": "xyz789",
"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": [
"abc123"
],
"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": "xyz789",
"displayName": "abc123",
"url": "abc123",
"maxTokens": 123,
"dimensions": 123,
"deployableModelId": "abc123",
"isModelDeployable": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"variant": "META",
"customDimension": true
}
]
}
}
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": false,
"createdAt": "xyz789",
"updatedAt": "abc123",
"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": "abc123",
"description": "abc123",
"deprecated": false,
"evaluatorModelTypes": ["LLM_MODEL"],
"minValue": 123.45,
"maxValue": 987.65,
"invertedValue": true,
"requiresContext": false
}
]
}
}
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": "abc123",
"error": "abc123"
}
}
}
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
region
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": "abc123",
"provider": "xyz789",
"version": "xyz789",
"llmModelId": 4,
"llmModel": LlmModel,
"llmEmbeddingModelId": "4",
"llmEmbeddingModel": LlmEmbeddingModel,
"alertExpression": "abc123",
"minimumScore": 987,
"maximumScore": 987,
"prompt": "xyz789",
"customName": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"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": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123",
"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": "xyz789",
"score": 123.45,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": true
}
]
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": 123.45,
"cost": 987.65,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false
}
]
}
}
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": "abc123",
"externalRagConfig": "xyz789",
"externalSources": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789",
"isDeleted": false
}
]
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": "xyz789"
}
]
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": false,
"applicationName": "xyz789"
}
]
}
}
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": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "abc123",
"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": "abc123"
}
}
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": 123,
"totalScoredPromptCount": 123,
"averageScore": 123.45,
"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": "abc123",
"displayName": "abc123",
"description": "abc123",
"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": [
"abc123"
],
"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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "abc123",
"displayName": "abc123",
"url": "xyz789",
"region": ["abc123"],
"maxTemperature": 987.65,
"maxTopP": 987.65,
"maxTokens": 123,
"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": "xyz789"
}
]
}
}
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": "xyz789"
}
Response
{
"data": {
"getLlmUsageSummary": {
"totalCost": 123.45,
"totalCostCurrency": "xyz789",
"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 |
|---|---|
input - GetLlmVectorStoreInput!
|
Example
Query
query GetLlmVectorStore($input: GetLlmVectorStoreInput!) {
getLlmVectorStore(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": GetLlmVectorStoreInput}
Response
{
"data": {
"getLlmVectorStore": {
"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": "xyz789",
"updatedAt": "abc123",
"dimension": 123
}
}
}
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
transcriptionPath
processingPriority
version
createdAt
updatedAt
}
}
Variables
{
"id": "4",
"fileId": "4"
}
Response
{
"data": {
"getLlmVectorStoreDocument": {
"id": 4,
"name": "xyz789",
"objectKey": "xyz789",
"path": "xyz789",
"previewPath": "xyz789",
"type": "FOLDER",
"status": "QUEUED",
"errorMessage": "abc123",
"llmVectorStoreSource": LlmVectorStoreSource,
"llmVectorStoreSourceId": "4",
"chunkConfiguration": ChunkConfiguration,
"transcriptionPath": "abc123",
"processingPriority": 123,
"version": "xyz789",
"createdAt": "abc123",
"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
transcriptionPath
processingPriority
createdAt
updatedAt
}
}
}
Variables
{
"llmVectorStoreId": "4",
"input": GetLlmVectorStoreDocumentsPaginatedInput,
"disableFetchCount": false
}
Response
{
"data": {
"getLlmVectorStoreDocumentsPaginated": {
"totalCount": 123,
"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
}
}
getLlmVectorStoreSourceDocumentPreviewPath
Response
Returns a String!
Arguments
| Name | Description |
|---|---|
input - GetLlmVectorStoreSourceDocumentPreviewPathInput!
|
Example
Query
query GetLlmVectorStoreSourceDocumentPreviewPath($input: GetLlmVectorStoreSourceDocumentPreviewPathInput!) {
getLlmVectorStoreSourceDocumentPreviewPath(input: $input)
}
Variables
{"input": GetLlmVectorStoreSourceDocumentPreviewPathInput}
Response
{
"data": {
"getLlmVectorStoreSourceDocumentPreviewPath": "xyz789"
}
}
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": "xyz789",
"isDeleting": true,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
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": ["abc123"]
}
]
}
}
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": 123.45}}
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": ["abc123"]
}
Response
{
"data": {
"getOverallProjectPerformance": {
"total": 987,
"completed": 123,
"inReview": 987,
"reviewReady": 987,
"inProgress": 987,
"created": 987
}
}
}
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": 987,
"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
}
kinds
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": 123.45}]}}
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": 987,
"currencyISO": "xyz789",
"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": false
}
]
}
}
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
enablePrelabeledDraft
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
}
kinds
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": "xyz789",
"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": "xyz789",
"l": "xyz789",
"layer": 123,
"deleted": false,
"hashCode": "abc123",
"labeledBy": "AUTO",
"labeledByUser": User,
"labeledByUserId": 987,
"acceptedByUserId": "4",
"rejectedByUserId": 4,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"documentId": "abc123",
"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
labeledByUserId
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
enablePrelabeledDraft
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": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "abc123",
"completedDate": "xyz789",
"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": 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": "abc123",
"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": 987,
"totalReviewed": 987
}
}
}
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": "abc123"
}
}
}
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": 987,
"pageInfo": PageInfo,
"nodes": [ProjectMetadataItem]
}
}
}
getProjectReviewingStatus
Description
Returns reviewing status for a single project.
Response
Returns a ReviewingStatus!
Arguments
| Name | Description |
|---|---|
input - GetProjectInput!
|
Example
Query
query GetProjectReviewingStatus($input: GetProjectInput!) {
getProjectReviewingStatus(input: $input) {
isCompleted
statistic {
numberOfDocuments
numberOfLabeledDocuments
}
}
}
Variables
{"input": GetProjectInput}
Response
{
"data": {
"getProjectReviewingStatus": {
"isCompleted": true,
"statistic": ReviewingStatusStatistic
}
}
}
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": "xyz789"
}
}
}
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": "abc123"
}
}
}
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": "abc123"}
Response
{
"data": {
"getProjectSamples": [
{
"id": "4",
"displayName": "xyz789",
"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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getProjectTemplate": {
"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
}
}
}
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
enablePrelabeledDraft
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
}
kinds
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": "xyz789",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": "4",
"type": "CUSTOM",
"description": "xyz789",
"imagePreviewURL": "abc123",
"videoURL": "xyz789"
}
}
}
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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"teamId": 4}
Response
{
"data": {
"getProjectTemplates": [
{
"id": 4,
"name": "abc123",
"teamId": 4,
"team": Team,
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"teamId": "4"}
Response
{
"data": {
"getProjectTemplatesV2": [
{
"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": "abc123",
"videoURL": "abc123"
}
]
}
}
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": 123,
"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]
}
]
}
}
getProjectsLabelingStatuses
Description
Returns labeling status for several projects.
Response
Returns [ProjectLabelingStatusResult!]!
Arguments
| Name | Description |
|---|---|
input - GetMultipleProjectsInput!
|
Example
Query
query GetProjectsLabelingStatuses($input: GetMultipleProjectsInput!) {
getProjectsLabelingStatuses(input: $input) {
projectId
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
statistic {
...LabelingStatusStatisticFragment
}
statisticsToShow {
...StatisticItemFragment
}
}
}
}
Variables
{"input": GetMultipleProjectsInput}
Response
{
"data": {
"getProjectsLabelingStatuses": [
{
"projectId": "4",
"labelingStatus": [LabelingStatus]
}
]
}
}
getProjectsMinimumLabelingStatuses
Description
Returns labeling status for several projects except statistics.
Response
Arguments
| Name | Description |
|---|---|
input - GetMultipleProjectsInput!
|
Example
Query
query GetProjectsMinimumLabelingStatuses($input: GetMultipleProjectsInput!) {
getProjectsMinimumLabelingStatuses(input: $input) {
projectId
labelingStatus {
labeler {
...TeamMemberFragment
}
isCompleted
isStarted
}
}
}
Variables
{"input": GetMultipleProjectsInput}
Response
{
"data": {
"getProjectsMinimumLabelingStatuses": [
{
"projectId": "4",
"labelingStatus": [MinimumLabelingStatus]
}
]
}
}
getProjectsPerformances
Description
Returns performance metrics for a specific project.
Response
Returns [ProjectPerformanceResult!]!
Arguments
| Name | Description |
|---|---|
input - GetMultipleProjectsInput!
|
Example
Query
query GetProjectsPerformances($input: GetMultipleProjectsInput!) {
getProjectsPerformances(input: $input) {
projectId
performance {
project {
...ProjectFragment
}
projectId
totalTimeSpent
effectiveTotalTimeSpent
conflicts
totalLabelApplied
numberOfAcceptedLabels
numberOfDocuments
numberOfTokens
numberOfLines
}
}
}
Variables
{"input": GetMultipleProjectsInput}
Response
{
"data": {
"getProjectsPerformances": [
{
"projectId": "4",
"performance": ProjectPerformance
}
]
}
}
getProjectsReviewingStatuses
Description
Returns reviewing status for several projects.
Response
Returns [ProjectReviewingStatusResult!]!
Arguments
| Name | Description |
|---|---|
input - GetMultipleProjectsInput!
|
Example
Query
query GetProjectsReviewingStatuses($input: GetMultipleProjectsInput!) {
getProjectsReviewingStatuses(input: $input) {
projectId
reviewingStatus {
isCompleted
statistic {
...ReviewingStatusStatisticFragment
}
}
}
}
Variables
{"input": GetMultipleProjectsInput}
Response
{
"data": {
"getProjectsReviewingStatuses": [
{
"projectId": "4",
"reviewingStatus": ReviewingStatus
}
]
}
}
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
}
kinds
createdAt
updatedAt
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getQuestionSet": {
"name": "abc123",
"id": "4",
"creator": User,
"items": [QuestionSetItem],
"kinds": ["DOCUMENT_BASED"],
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
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": "xyz789",
"template": "abc123",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
}
}
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": "abc123"
}
]
}
}
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": ["abc123"]
}
Response
{
"data": {
"getRemainingFilesStatistic": {
"total": 987,
"inReview": 123,
"reviewReady": 987,
"inProgress": 987,
"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": 123
}
]
}
}
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": 987,
"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": 987,
"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": "abc123"
}
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": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": true,
"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": false,
"companyId": "4",
"idpIssuer": "xyz789",
"idpUrl": "abc123",
"spIssuer": "xyz789",
"team": Team,
"allowMembersToSetPassword": true
}
}
}
getSavedSearch
Response
Returns a SavedSearch
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
query GetSavedSearch($id: ID!) {
getSavedSearch(id: $id) {
id
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastModifiedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
description
type
conditions
projectId
createdAt
updatedAt
}
}
Variables
{"id": "4"}
Response
{
"data": {
"getSavedSearch": {
"id": "4",
"owner": User,
"lastModifiedBy": User,
"name": "xyz789",
"description": "abc123",
"type": "STANDARD",
"conditions": "abc123",
"projectId": 4,
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
getSavedSearches
Response
Returns a GetSavedSearchResponse!
Arguments
| Name | Description |
|---|---|
input - GetSavedSearchPaginatedInput!
|
Example
Query
query GetSavedSearches($input: GetSavedSearchPaginatedInput!) {
getSavedSearches(input: $input) {
totalCount
nodes {
id
owner {
...UserFragment
}
lastModifiedBy {
...UserFragment
}
name
description
type
conditions
projectId
createdAt
updatedAt
}
pageInfo {
prevCursor
nextCursor
}
}
}
Variables
{"input": GetSavedSearchPaginatedInput}
Response
{
"data": {
"getSavedSearches": {
"totalCount": 987,
"nodes": [SavedSearch],
"pageInfo": PageInfo
}
}
}
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": false
}
}
}
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": "abc123",
"role": "LABELER"
}
]
}
}
getSearchHistoryKeywords
Response
Returns [SearchHistoryKeyword!]!
Example
Query
query GetSearchHistoryKeywords {
getSearchHistoryKeywords {
id
keyword
}
}
Response
{
"data": {
"getSearchHistoryKeywords": [
{
"id": "4",
"keyword": "xyz789"
}
]
}
}
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": ["abc123"]
}
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": "abc123"
}
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": false,
"spendingThreshold": SpendingThreshold,
"currentSpendingAmount": 123.45,
"currentSpendingCurrency": "xyz789"
}
]
}
}
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": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"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": "xyz789",
"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": "abc123",
"lastUsedAt": "abc123",
"createdAt": "abc123",
"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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "xyz789",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "abc123",
"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": "xyz789",
"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": "abc123",
"invitationStatus": "xyz789",
"invitationKey": "xyz789",
"isDeleted": false,
"joinedDate": "abc123",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": 4
}
}
}
getTeamMemberLabelingStatus
Response
Returns a LabelingStatus!
Arguments
| Name | Description |
|---|---|
input - GetTeamMemberLabelingStatusInput!
|
Example
Query
query GetTeamMemberLabelingStatus($input: GetTeamMemberLabelingStatusInput!) {
getTeamMemberLabelingStatus(input: $input) {
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
{"input": GetTeamMemberLabelingStatusInput}
Response
{
"data": {
"getTeamMemberLabelingStatus": {
"labeler": TeamMember,
"isCompleted": false,
"isStarted": true,
"statistic": LabelingStatusStatistic,
"statisticsToShow": [StatisticItem]
}
}
}
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
projectStatisticsPerLabelType {
...ProjectStatisticPerLabelTypeFragment
}
}
}
}
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": "abc123",
"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": 987,
"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": 123,
"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": "xyz789",
"targetProject": TimelineProject,
"targetDocument": TimelineDocument,
"targetUser": User,
"created": "xyz789"
}
]
}
}
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": 123,
"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": "abc123"
}
}
}
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
labeledLines
answeredLines
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": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"completedByUserId": 4,
"lastSavedAt": "abc123",
"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": 987,
"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": false,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "xyz789",
"tokenizer": "xyz789",
"editSentenceTokenizer": "xyz789",
"displayedRows": 987,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": true,
"enableTabularMarkdownParsing": true,
"enableAnonymization": false,
"anonymizationEntityTypes": [
"abc123"
],
"anonymizationMaskingMethod": "abc123",
"anonymizationRegExps": [RegularExpression],
"fileTransformerId": "abc123",
"rowQuestionsFormValidationScriptId": "4",
"enableRowQuestionsFormValidationScript": true
}
}
}
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
labeledLines
answeredLines
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
userId
areDocumentQuestionsAnswered
numberOfAcceptedLabels
numberOfAppliedLabelTokens
numberOfRejectedLabels
}
documentTouched
}
}
Variables
{"documentId": "4"}
Response
{
"data": {
"getTextDocumentStatistic": {
"documentId": 4,
"numberOfChunks": 987,
"numberOfSentences": 987,
"numberOfTokens": 123,
"effectiveTimeSpent": 987,
"touchedSentences": [987],
"labeledLines": [987],
"answeredLines": [123],
"nonDisplayedLines": [987],
"numberOfEntitiesLabeled": 987,
"numberOfNonDocumentEntitiesLabeled": 123,
"maxLabeledLine": 123,
"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": 123
}
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": 987,
"position": TextRange,
"startTimestampMillis": 123,
"endTimestampMillis": 987,
"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": 123.45,
"outputTokenUnitPrice": 987.65,
"embeddingTokenUnitPrice": 123.45
}
}
}
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": 123.45,
"notCoveredByDatasaur": 987.65,
"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": "abc123",
"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": false}}
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": [123.45], "pixelPerSecond": 123}}}
hasAWSMarketplaceSession
Response
Returns a Boolean!
Example
Query
query HasAWSMarketplaceSession {
hasAWSMarketplaceSession
}
Response
{"data": {"hasAWSMarketplaceSession": false}}
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": false}}
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": [123.45]
}
]
}
}
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": "xyz789",
"metadata": "xyz789",
"score": 987.65
}
]
}
}
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": "abc123",
"name": "xyz789",
"email": "abc123",
"package": "ENTERPRISE",
"profilePicture": "xyz789",
"allowedActions": ["AUTOMATED_TEST"],
"displayName": "xyz789",
"teamPackage": "ENTERPRISE",
"emailVerified": false,
"totpAuthEnabled": false,
"companyName": "abc123",
"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": [987.65]
}
}
}
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": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "abc123",
"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": true}}
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": false,
"errorMessage": "xyz789"
}
}
}
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": "abc123"
}
Response
{
"data": {
"verifyInvitationLink": {
"isValid": true,
"userIsRegistered": true,
"email": "abc123",
"teamId": "4",
"companyName": "abc123"
}
}
}
verifyPassword
verifyResetPasswordSignature
verifyTeamInvitationLink
Response
Returns a TeamInvitationLinkVerificationResult!
Arguments
| Name | Description |
|---|---|
invitationKey - String!
|
Example
Query
query VerifyTeamInvitationLink($invitationKey: String!) {
verifyTeamInvitationLink(invitationKey: $invitationKey) {
isValid
teamId
teamName
createdByUser
expiredAt
}
}
Variables
{"invitationKey": "xyz789"}
Response
{
"data": {
"verifyTeamInvitationLink": {
"isValid": false,
"teamId": "4",
"teamName": "abc123",
"createdByUser": "abc123",
"expiredAt": "abc123"
}
}
}
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": false}}
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": 123,
"pageIndex": 123,
"layer": 123,
"position": TextRange,
"hashCode": "xyz789",
"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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "xyz789",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
}
}
acceptTeamInvitationLink
Response
Returns a Team!
Arguments
| Name | Description |
|---|---|
input - AcceptTeamInvitationLinkInput!
|
Example
Query
mutation AcceptTeamInvitationLink($input: AcceptTeamInvitationLinkInput!) {
acceptTeamInvitationLink(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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
isExpired
expiredAt
}
}
Variables
{"input": AcceptTeamInvitationLinkInput}
Response
{
"data": {
"acceptTeamInvitationLink": {
"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": 987,
"position": TextRange,
"startTimestampMillis": 123,
"endTimestampMillis": 123,
"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": "abc123",
"activationCode": "xyz789"
}
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": false}}
addCustomEmbeddingModel
Response
Returns a LlmEmbeddingModel!
Arguments
| Name | Description |
|---|---|
input - AddCustomEmbeddingModelInput!
|
Example
Query
mutation AddCustomEmbeddingModel($input: AddCustomEmbeddingModelInput!) {
addCustomEmbeddingModel(input: $input) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{"input": AddCustomEmbeddingModelInput}
Response
{
"data": {
"addCustomEmbeddingModel": {
"id": 4,
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "xyz789",
"url": "xyz789",
"maxTokens": 987,
"dimensions": 123,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"variant": "META",
"customDimension": false
}
}
}
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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "abc123",
"displayName": "abc123",
"url": "xyz789",
"region": ["abc123"],
"maxTemperature": 123.45,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 987.65,
"defaultTopP": 123.45,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
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": "xyz789"
}
}
}
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": "abc123"
}
]
}
}
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
cached
}
}
Variables
{"input": AddLabelingFunctionInput}
Response
{
"data": {
"addLabelingFunction": {
"id": "4",
"dataProgrammingId": "4",
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "abc123",
"active": false,
"createdAt": "abc123",
"updatedAt": "abc123",
"cached": false
}
}
}
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
enablePrelabeledDraft
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": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"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": false,
"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": "abc123",
"parentId": 4,
"tagName": "xyz789",
"desc": "xyz789",
"color": "xyz789",
"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": 123,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"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
labeledLines
answeredLines
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": 987,
"lastLabeledLine": 123,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"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": "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": "abc123",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "xyz789",
"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": "abc123",
"status": "DELIVERED",
"progress": 123,
"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": true}}
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": "abc123",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"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": ["xyz789"]
}
}
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": "abc123"}}
chunkFile
Response
Returns a CreateDocumentChunkResult!
Arguments
| Name | Description |
|---|---|
input - CreateDocumentChunkInput!
|
Example
Query
mutation ChunkFile($input: CreateDocumentChunkInput!) {
chunkFile(input: $input) {
chunks {
text
metadata
embedding
}
defaultChunkMetadata
}
}
Variables
{"input": CreateDocumentChunkInput}
Response
{
"data": {
"chunkFile": {
"chunks": [DocumentChunk],
"defaultChunkMetadata": DefaultChunkMetadata
}
}
}
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
labeledLines
answeredLines
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
lastSavedAt
}
}
Variables
{"documentId": 4}
Response
{
"data": {
"clearAllLabelsOnTextDocument": {
"affectedChunkIds": [987],
"statistic": TextDocumentStatistic,
"lastSavedAt": "xyz789"
}
}
}
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
labeledLines
answeredLines
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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "xyz789",
"displayName": "abc123",
"url": "abc123",
"region": ["xyz789"],
"maxTemperature": 123.45,
"maxTopP": 987.65,
"maxTokens": 123,
"maxContextWindow": 123,
"defaultTemperature": 123.45,
"defaultTopP": 987.65,
"defaultMaxTokens": 987,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": false,
"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": 123,
"user": User,
"message": "xyz789",
"resolved": true,
"resolvedAt": "xyz789",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "xyz789",
"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": "abc123",
"creatorId": 4,
"lastRunAt": "xyz789",
"lastFinishedAt": "xyz789",
"externalObjectStorageId": "4",
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": "4",
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["xyz789"],
"numberOfLabelersPerProject": 987,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 123,
"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": "xyz789",
"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": "abc123",
"bucketName": "xyz789",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "xyz789",
"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": "abc123",
"createdAt": "xyz789",
"updatedAt": "abc123",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "abc123",
"warmup": true
}
}
}
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": "xyz789",
"teamId": 4,
"createdByUserId": 4,
"createdByUser": User,
"items": [GroundTruth],
"itemsCount": 987,
"createdAt": "xyz789",
"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": "abc123",
"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": "xyz789",
"content": "abc123",
"teamId": 4
}
Response
{
"data": {
"createGuideline": {
"id": "4",
"name": "abc123",
"content": "xyz789",
"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": "xyz789",
"index": 123,
"signature": "xyz789",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": true,
"leafOnlyOption": false
}
}
}
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": "abc123",
"owner": User,
"type": "QUESTION",
"items": [LabelSetTemplateItem],
"count": 987,
"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": "abc123",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"input": CreateLlmApplicationConfigurationInput}
Response
{
"data": {
"createLlmApplicationConfiguration": {
"id": "4",
"name": "abc123",
"teamId": "4",
"createdByUserId": "4",
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": "4",
"llmRagConfig": LlmRagConfig,
"createdAt": "xyz789",
"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": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
}
}
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": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
]
}
}
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": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 123
}
]
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"input": LlmApplicationPlaygroundRagConfigCreateInput}
Response
{
"data": {
"createLlmApplicationPlaygroundRagConfig": {
"id": 4,
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "abc123",
"createdAt": "xyz789",
"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": "abc123",
"teamId": "4",
"projectId": 4,
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "abc123",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 987,
"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": "xyz789",
"isDeleted": true,
"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": "xyz789",
"name": "abc123",
"status": "CREATED",
"documents": [LlmVectorStoreDocumentScalar],
"documentStatusCount": LlmVectorStoreDocumentCountByStatus,
"sourceDocuments": [LlmVectorStoreSourceDocument],
"questions": [Question],
"jobId": "xyz789",
"chunkConfiguration": ChunkConfiguration,
"createdAt": "xyz789",
"updatedAt": "abc123",
"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": "xyz789"}}
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": "abc123",
"updatedAt": "abc123",
"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": "abc123",
"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": "abc123",
"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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"input": CreateProjectTemplateInput}
Response
{
"data": {
"createProjectTemplate": {
"id": 4,
"name": "xyz789",
"teamId": 4,
"team": Team,
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": "4",
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "abc123",
"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
}
kinds
createdAt
updatedAt
}
}
Variables
{"input": CreateQuestionSetInput}
Response
{
"data": {
"createQuestionSet": {
"name": "xyz789",
"id": "4",
"creator": User,
"items": [QuestionSetItem],
"kinds": ["DOCUMENT_BASED"],
"createdAt": "xyz789",
"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": "abc123",
"template": "xyz789",
"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": false
}
}
}
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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "xyz789",
"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": "xyz789",
"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": "xyz789",
"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
labeledBy
labeledByUserId
}
}
Variables
{
"documentId": "4",
"labelIds": ["4"]
}
Response
{
"data": {
"deleteBBoxLabels": [
{
"id": 4,
"documentId": 4,
"bboxLabelClassId": 4,
"deleted": false,
"caption": "xyz789",
"shapes": [BBoxShape],
"answers": AnswerScalar,
"labeledBy": "PRELABELED",
"labeledByUserId": "4"
}
]
}
}
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": 987,
"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": "abc123",
"name": "abc123",
"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": "xyz789",
"bucketName": "abc123",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "abc123",
"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": ["abc123"]
}
}
deleteGroundTruths
Response
Returns [String!]!
Arguments
| Name | Description |
|---|---|
ids - [ID!]!
|
Example
Query
mutation DeleteGroundTruths($ids: [ID!]!) {
deleteGroundTruths(ids: $ids)
}
Variables
{"ids": ["4"]}
Response
{"data": {"deleteGroundTruths": ["xyz789"]}}
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": 123.45,
"suggestedLabel": "abc123",
"previousLabel": "xyz789",
"createdAt": "abc123",
"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
labeledLines
answeredLines
nonDisplayedLines
numberOfEntitiesLabeled
numberOfNonDocumentEntitiesLabeled
maxLabeledLine
labelerStatistic {
...LabelerStatisticFragment
}
documentTouched
}
lastSavedAt
}
}
Variables
{"input": DeleteLabelsOnTextDocumentInput}
Response
{
"data": {
"deleteLabelsOnTextDocument": {
"affectedChunks": [TextChunk],
"deletedTokenLabels": [TextLabel],
"statistic": TextDocumentStatistic,
"lastSavedAt": "abc123"
}
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
createdAt
updatedAt
isDeleted
}
}
Variables
{"ids": [4]}
Response
{
"data": {
"deleteLlmApplicationConfigurations": [
{
"id": 4,
"name": "xyz789",
"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": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
}
}
deleteLlmApplicationPlaygroundRagConfig
deleteLlmApplications
deleteLlmEmbeddingModel
Response
Returns a LlmEmbeddingModel!
Arguments
| Name | Description |
|---|---|
id - ID!
|
Example
Query
mutation DeleteLlmEmbeddingModel($id: ID!) {
deleteLlmEmbeddingModel(id: $id) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{"id": "4"}
Response
{
"data": {
"deleteLlmEmbeddingModel": {
"id": "4",
"teamId": 4,
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "abc123",
"url": "abc123",
"maxTokens": 123,
"dimensions": 987,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"variant": "META",
"customDimension": true
}
}
}
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": "abc123",
"teamId": 4,
"projectId": "4",
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": true,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "abc123",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 123,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
]
}
}
deleteLlmModel
Example
Query
mutation DeleteLlmModel($id: ID!) {
deleteLlmModel(id: $id) {
id
teamId
provider
name
displayName
url
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "abc123",
"url": "xyz789",
"region": ["xyz789"],
"maxTemperature": 123.45,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 123,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "xyz789",
"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
enablePrelabeledDraft
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": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "abc123",
"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": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
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
enablePrelabeledDraft
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": "abc123",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"completedDate": "xyz789",
"exportedDate": "xyz789",
"updatedDate": "xyz789",
"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": 123
}
]
}
}
deletePromptConversationHistory
deleteQuestionSet
deleteQuestionSets
deleteRow
Response
Returns a DeleteRowResult!
Example
Query
mutation DeleteRow(
$documentId: String!,
$signature: String!,
$rowId: Int!
) {
deleteRow(
documentId: $documentId,
signature: $signature,
rowId: $rowId
) {
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
}
deletedCells {
line
index
content
tokens
metadata {
...CellMetadataFragment
}
conversationalMetadata {
...ConversationalMetadataFragment
}
status
conflict
conflicts {
...CellConflictFragment
}
originCell {
...CellFragment
}
}
}
}
Variables
{
"documentId": "abc123",
"signature": "abc123",
"rowId": 123
}
Response
{
"data": {
"deleteRow": {
"document": TextDocument,
"deletedCells": [Cell]
}
}
}
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": false}}
deleteSavedSearch
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": "xyz789",
"signature": "abc123",
"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": 987,
"position": TextRange,
"startTimestampMillis": 987,
"endTimestampMillis": 987,
"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": "abc123",
"url": "abc123",
"maxTokens": 987,
"dimensions": 987,
"deployableModelId": "abc123",
"isModelDeployable": true,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"variant": "META",
"customDimension": true
}
}
}
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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "xyz789",
"displayName": "xyz789",
"url": "abc123",
"region": ["xyz789"],
"maxTemperature": 123.45,
"maxTopP": 123.45,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 987.65,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 123.45,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"forceAnonymization": false,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
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": true}}
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": "xyz789"
}
}
}
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": "abc123",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"id": "4"}
Response
{
"data": {
"duplicateLlmApplicationPlaygroundRagConfig": {
"id": 4,
"llmApplicationId": "4",
"llmRagConfig": LlmRagConfig,
"name": "abc123",
"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": "abc123"}
Response
{
"data": {
"editComment": {
"id": 4,
"parentId": "4",
"documentId": 4,
"originDocumentId": 4,
"userId": 987,
"user": User,
"message": "xyz789",
"resolved": false,
"resolvedAt": "xyz789",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"lastEditedAt": "xyz789",
"hashCode": "abc123",
"commentedContent": CommentedContent
}
}
}
editCustomEmbeddingModel
Response
Returns a LlmEmbeddingModel!
Arguments
| Name | Description |
|---|---|
input - EditCustomEmbeddingModelInput!
|
Example
Query
mutation EditCustomEmbeddingModel($input: EditCustomEmbeddingModelInput!) {
editCustomEmbeddingModel(input: $input) {
id
teamId
provider
name
displayName
url
maxTokens
dimensions
deployableModelId
isModelDeployable
createdAt
updatedAt
variant
customDimension
}
}
Variables
{"input": EditCustomEmbeddingModelInput}
Response
{
"data": {
"editCustomEmbeddingModel": {
"id": "4",
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "xyz789",
"url": "xyz789",
"maxTokens": 123,
"dimensions": 987,
"deployableModelId": "xyz789",
"isModelDeployable": true,
"createdAt": "abc123",
"updatedAt": "xyz789",
"variant": "META",
"customDimension": true
}
}
}
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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "abc123",
"region": ["abc123"],
"maxTemperature": 987.65,
"maxTopP": 123.45,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 987.65,
"defaultTopP": 123.45,
"defaultMaxTokens": 987,
"minTemperature": 987.65,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
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": ["xyz789"]
}
}
}
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": false}}
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": "abc123",
"createdAt": "abc123",
"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": "abc123",
"otpAuthUrl": "xyz789",
"qrCode": "xyz789"
}
}
}
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": "xyz789",
"updatedAt": "abc123"
}
}
}
getOrCreateTeamInvitationLink
Response
Returns a TeamInvitationLink!
Arguments
| Name | Description |
|---|---|
input - GetOrCreateTeamInvitationLinkInput!
|
Example
Query
mutation GetOrCreateTeamInvitationLink($input: GetOrCreateTeamInvitationLinkInput!) {
getOrCreateTeamInvitationLink(input: $input) {
id
teamId
createdByUserId
invitationKey
expiredAt
createdAt
updatedAt
}
}
Variables
{"input": GetOrCreateTeamInvitationLinkInput}
Response
{
"data": {
"getOrCreateTeamInvitationLink": {
"id": 4,
"teamId": 4,
"createdByUserId": "4",
"invitationKey": "abc123",
"expiredAt": "xyz789",
"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
labeledLines
answeredLines
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": "xyz789",
"currentSentenceCursor": 987,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"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": "abc123",
"version": 123,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 987
}
}
}
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": "abc123"
}
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": "xyz789",
"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": "xyz789",
"signature": "xyz789",
"insertTarget": InsertTargetInput,
"content": "xyz789",
"tokenizationMethod": "WINK",
"metadata": [CellMetadataInput]
}
Response
{
"data": {
"insertSentence": {
"line": 123,
"index": 123,
"content": "xyz789",
"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": "xyz789",
"invitationStatus": "abc123",
"invitationKey": "abc123",
"isDeleted": true,
"joinedDate": "xyz789",
"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
enablePrelabeledDraft
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": "abc123",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "abc123",
"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
}
}
}
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": "abc123"
}
}
}
loadLlmApplicationConfigurationToPlayground
Response
Returns a LoadLlmApplicationConfigurationToPlaygroundResponse!
Arguments
| Name | Description |
|---|---|
input - LoadLlmApplicationConfigurationInput!
|
Example
Query
mutation LoadLlmApplicationConfigurationToPlayground($input: LoadLlmApplicationConfigurationInput!) {
loadLlmApplicationConfigurationToPlayground(input: $input) {
llmApplicationPlaygroundRagConfigId
llmApplicationConfigurationId
}
}
Variables
{"input": LoadLlmApplicationConfigurationInput}
Response
{
"data": {
"loadLlmApplicationConfigurationToPlayground": {
"llmApplicationPlaygroundRagConfigId": 4,
"llmApplicationConfigurationId": "4"
}
}
}
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
labeledLines
answeredLines
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": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"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": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "abc123",
"part": 123
}
]
}
}
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
labeledLines
answeredLines
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": true}
Response
{
"data": {
"markDocumentAsComplete": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "xyz789",
"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": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 987
}
}
}
markDocumentAsFavorite
Response
Returns an ID!
Arguments
| Name | Description |
|---|---|
input - MarkDocumentAsFavoriteInput!
|
Example
Query
mutation MarkDocumentAsFavorite($input: MarkDocumentAsFavoriteInput!) {
markDocumentAsFavorite(input: $input)
}
Variables
{"input": MarkDocumentAsFavoriteInput}
Response
{"data": {"markDocumentAsFavorite": "4"}}
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
labeledLines
answeredLines
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": true}
Response
{
"data": {
"markDocumentAsInProgress": {
"id": "4",
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 123,
"lastLabeledLine": 123,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"isCompleted": false,
"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": 987,
"workspaceState": WorkspaceState,
"originId": "4",
"signature": "abc123",
"part": 123
}
}
}
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": "xyz789",
"isMarked": true
}
}
}
migrateUserDataToHubspot
Response
Returns a Boolean
Arguments
| Name | Description |
|---|---|
userIds - [String!]!
|
Example
Query
mutation MigrateUserDataToHubspot($userIds: [String!]!) {
migrateUserDataToHubspot(userIds: $userIds)
}
Variables
{"userIds": ["xyz789"]}
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": "abc123"
}
Response
{
"data": {
"modifyDocumentQuestions": [
{
"id": 123,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": true,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
]
}
}
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": 123,
"internalId": "xyz789",
"type": "DROPDOWN",
"name": "abc123",
"label": "xyz789",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "xyz789",
"targetEntity": "xyz789"
}
]
}
}
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": 123,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "xyz789",
"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": true}}
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": "xyz789",
"displayName": "xyz789",
"url": "xyz789",
"maxTokens": 123,
"dimensions": 123,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"createdAt": "xyz789",
"updatedAt": "abc123",
"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": 987,
"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": 123,
"position": TextRange,
"startTimestampMillis": 987,
"endTimestampMillis": 987,
"type": "ARROW"
}
]
}
}
removeDocumentFromFavorite
Response
Returns an ID!
Arguments
| Name | Description |
|---|---|
input - MarkDocumentAsFavoriteInput!
|
Example
Query
mutation RemoveDocumentFromFavorite($input: MarkDocumentAsFavoriteInput!) {
removeDocumentFromFavorite(input: $input)
}
Variables
{"input": MarkDocumentAsFavoriteInput}
Response
{"data": {"removeDocumentFromFavorite": 4}}
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": false,
"externalId": "xyz789",
"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
enablePrelabeledDraft
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": "abc123",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "abc123",
"completedDate": "abc123",
"exportedDate": "abc123",
"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": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
removeQuestionSetTemplate
Example
Query
mutation RemoveQuestionSetTemplate(
$teamId: ID!,
$id: ID!
) {
removeQuestionSetTemplate(
teamId: $teamId,
id: $id
)
}
Variables
{
"teamId": "4",
"id": "4"
}
Response
{"data": {"removeQuestionSetTemplate": false}}
removeSearchKeyword
Response
Returns a SearchHistoryKeyword!
Arguments
| Name | Description |
|---|---|
keyword - String!
|
Example
Query
mutation RemoveSearchKeyword($keyword: String!) {
removeSearchKeyword(keyword: $keyword) {
id
keyword
}
}
Variables
{"keyword": "abc123"}
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": "xyz789",
"invitationStatus": "abc123",
"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": "abc123",
"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
enablePrelabeledDraft
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": "xyz789",
"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": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
}
}
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
enablePrelabeledDraft
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": "abc123",
"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": 123
}
}
}
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
enablePrelabeledDraft
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": "xyz789",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"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
}
}
}
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": "xyz789",
"resolved": true,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 987,
"createdAt": "xyz789",
"updatedAt": "abc123",
"lastEditedAt": "xyz789",
"hashCode": "xyz789",
"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": 987,
"name": "abc123",
"gclid": "abc123",
"fbclid": "xyz789",
"utmSource": "xyz789",
"desiredLabelingFeature": "xyz789"
}
}
}
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": "xyz789"
}
}
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": "xyz789"
}
}
}
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": "abc123",
"isProcessing": true
}
}
}
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": "abc123",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"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": "abc123"
}
}
}
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": true,
"jumpToNextDocumentOnDocumentCompleted": true,
"jumpToNextSpanOnSubmit": false,
"multipleSelectLabels": false
}
}
}
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": 123,
"allTokensMustBeLabeled": false,
"autoScrollWhenLabeling": true,
"allowArcDrawing": false,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "xyz789",
"tokenizer": "xyz789",
"editSentenceTokenizer": "xyz789",
"displayedRows": 123,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": true,
"enableTabularMarkdownParsing": false,
"enableAnonymization": true,
"anonymizationEntityTypes": [
"xyz789"
],
"anonymizationMaskingMethod": "xyz789",
"anonymizationRegExps": [RegularExpression],
"fileTransformerId": "abc123",
"rowQuestionsFormValidationScriptId": "4",
"enableRowQuestionsFormValidationScript": true
}
}
}
saveSearch
Response
Returns a SavedSearch!
Arguments
| Name | Description |
|---|---|
input - SaveSearchInput!
|
Example
Query
mutation SaveSearch($input: SaveSearchInput!) {
saveSearch(input: $input) {
id
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastModifiedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
description
type
conditions
projectId
createdAt
updatedAt
}
}
Variables
{"input": SaveSearchInput}
Response
{
"data": {
"saveSearch": {
"id": 4,
"owner": User,
"lastModifiedBy": User,
"name": "xyz789",
"description": "xyz789",
"type": "STANDARD",
"conditions": "abc123",
"projectId": 4,
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
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": "xyz789"
}
}
}
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
enablePrelabeledDraft
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": "xyz789",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "abc123",
"createdDate": "abc123",
"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
}
]
}
}
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": 123
}
}
}
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": true
}
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": true,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "abc123",
"updatedAt": "xyz789",
"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": false,
"allowChangeTeamMemberRoles": false
}
}
}
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": 123,
"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": "abc123",
"result": JobResult,
"createdAt": "xyz789",
"updatedAt": "abc123",
"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": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"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": "abc123",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"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
}
enableGeneratedInvitationLink
}
allowedAdminExportMethods
allowedLabelerExportMethods
allowedOCRProviders
allowedASRProviders
allowedReviewerExportMethods
commentNotificationType
customAPICreationLimit
defaultCustomTextExtractionAPIId
defaultExternalObjectStorageId
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
}
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",
"enabledCustomObjectStorage": ["AWS_S3"],
"enableActions": false,
"enableAddDocumentsToProject": true,
"enableDemo": false,
"enableDataProgramming": true,
"enableLabelingFunctionMultipleLabel": true,
"enableDatasaurAssistRowBased": true,
"enableDatasaurDinamicTokenBased": true,
"enableDatasaurPredictiveRowBased": true,
"enableLabelingAgentSpanBased": true,
"enableWipeData": false,
"enableExportTeamOverview": true,
"enableSelfAssignment": false,
"enableTransferOwnership": true,
"enableLabelErrorDetectionRowBased": false,
"allowedExtraAutoLabelProviders": ["CUSTOM"],
"enableLLMProject": false,
"enableRegexSentenceSeparator": false,
"enableTeamRoleSupervisor": true,
"endExtensionTrialAt": "2007-12-03T10:15:30Z",
"allowInvalidPaymentMethod": true,
"enableExternalKnowledgeBase": false,
"enableForceAnonymization": false,
"enableReviewIndicator": false,
"enableValidationScript": true,
"enableSpanLabelingWithRowQuestions": true,
"llmFreeTrialDailyLimitsConfig": LlmFreeTrialDailyLimitsConfig,
"enableScriptGeneratedQuestion": true,
"rowModification": RowModificationSetting,
"enableDeployedApplicationLogging": true,
"enableRealTimeAssistedLabelingSpanBased": false,
"enableLabelsAndAnswersExportFormat": true
}
}
}
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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "xyz789",
"displayName": "xyz789",
"url": "abc123",
"region": ["xyz789"],
"maxTemperature": 123.45,
"maxTopP": 987.65,
"maxTokens": 123,
"maxContextWindow": 123,
"defaultTemperature": 123.45,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 987.65,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": false,
"forceAnonymization": false,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "abc123",
"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": 987,
"errors": [JobError],
"resultId": "xyz789",
"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
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "xyz789",
"url": "abc123",
"region": ["abc123"],
"maxTemperature": 987.65,
"maxTopP": 123.45,
"maxTokens": 123,
"maxContextWindow": 123,
"defaultTemperature": 987.65,
"defaultTopP": 123.45,
"defaultMaxTokens": 987,
"minTemperature": 987.65,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": true,
"forceAnonymization": true,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
}
}
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": "abc123"}
}
}
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": false}}
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
enablePrelabeledDraft
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": {
"toggleArchiveProjects": [
{
"id": "4",
"team": Team,
"teamId": "4",
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "abc123",
"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
}
]
}
}
toggleCabinetStatus
Description
Deprecated. Please use setCabinetStatusinstead.
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
labeledLines
answeredLines
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": true}
Response
{
"data": {
"toggleDocumentStatus": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"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": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "abc123",
"part": 987
}
}
}
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": "abc123"
}
Response
{"data": {"trackMeetWithSales": true}}
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": "xyz789",
"status": "DELIVERED",
"progress": 123,
"errors": [JobError],
"resultId": "xyz789",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "abc123",
"additionalData": JobAdditionalData
}
}
}
triggerRealTimeAssistedLabelingSpanBasedJob
Response
Returns a Job
Arguments
| Name | Description |
|---|---|
input - TriggerRealTimeAssistedLabelingSpanBasedInput!
|
Example
Query
mutation TriggerRealTimeAssistedLabelingSpanBasedJob($input: TriggerRealTimeAssistedLabelingSpanBasedInput!) {
triggerRealTimeAssistedLabelingSpanBasedJob(input: $input) {
id
status
progress
errors {
id
stack
args
message
}
resultId
result
createdAt
updatedAt
additionalData {
actionRunId
childrenJobIds
documentIds
reversedLabels {
...UpdateReversedLabelsResultFragment
}
labelingAgentsJobId
labelingAgentsResults
}
}
}
Variables
{"input": TriggerRealTimeAssistedLabelingSpanBasedInput}
Response
{
"data": {
"triggerRealTimeAssistedLabelingSpanBasedJob": {
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"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": "abc123",
"url": "abc123",
"maxTokens": 123,
"dimensions": 123,
"deployableModelId": "abc123",
"isModelDeployable": false,
"createdAt": "xyz789",
"updatedAt": "abc123",
"variant": "META",
"customDimension": false
}
}
}
undeployLlmModel
Example
Query
mutation UndeployLlmModel($id: ID!) {
undeployLlmModel(id: $id) {
id
teamId
provider
name
displayName
url
region
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
instanceType
trainingVolumeSize
optionalHyperparameters
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": "abc123",
"displayName": "xyz789",
"url": "abc123",
"region": ["xyz789"],
"maxTemperature": 987.65,
"maxTopP": 123.45,
"maxTokens": 123,
"maxContextWindow": 123,
"defaultTemperature": 123.45,
"defaultTopP": 123.45,
"defaultMaxTokens": 123,
"minTemperature": 987.65,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "abc123",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": false,
"variant": "META",
"createdAt": "abc123",
"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": "abc123",
"isMarked": false
}
}
}
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": "xyz789",
"width": "abc123",
"displayed": true,
"labelerRestricted": false,
"rowQuestionIndex": 123
}
]
}
}
updateCellConflicts
Response
Returns an UpdateCellConflictsResult!
Example
Query
mutation UpdateCellConflicts(
$textDocumentId: ID!,
$signature: String!,
$cellLine: Int!,
$resolved: Boolean!,
$labelerId: Int
) {
updateCellConflicts(
textDocumentId: $textDocumentId,
signature: $signature,
cellLine: $cellLine,
resolved: $resolved,
labelerId: $labelerId
) {
cells {
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": "abc123",
"cellLine": 987,
"resolved": false,
"labelerId": 987
}
Response
{
"data": {
"updateCellConflicts": {
"cells": [Cell],
"labels": [TextLabel],
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable]
}
}
}
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": "xyz789",
"metadata": DocumentChunkMetadata,
"embedding": [987.65]
}
}
}
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": "abc123"
}
Response
{"data": {"updateContactFieldByFieldId": false}}
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": "abc123",
"teamId": 4,
"appVersion": "abc123",
"creatorId": 4,
"lastRunAt": "abc123",
"lastFinishedAt": "abc123",
"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"]
}
}
}
updateCurrentSentenceCursor
Response
Returns a TextDocument!
Arguments
| Name | Description |
|---|---|
input - UpdateCurrentSentenceCursorInput!
|
Example
Query
mutation UpdateCurrentSentenceCursor($input: UpdateCurrentSentenceCursorInput!) {
updateCurrentSentenceCursor(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
labeledLines
answeredLines
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": UpdateCurrentSentenceCursorInput}
Response
{
"data": {
"updateCurrentSentenceCursor": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "xyz789",
"currentSentenceCursor": 987,
"lastLabeledLine": 123,
"documentSettings": TextDocumentSettings,
"fileName": "abc123",
"isCompleted": true,
"completedByUserId": "4",
"lastSavedAt": "abc123",
"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": "xyz789",
"version": 123,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 987
}
}
}
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": "xyz789",
"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": [987],
"questionColumnId": 987,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": 4,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
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": 987,
"providerSetting": ProviderSetting,
"modelMetadata": ModelMetadata,
"trainingJobId": "4",
"createdAt": "xyz789",
"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": 987,
"cabinetId": 123,
"name": "abc123",
"width": "xyz789",
"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": 123,
"displayed": true
}
Response
{
"data": {
"updateDocumentMetaDisplayed": {
"id": 123,
"cabinetId": 987,
"name": "xyz789",
"width": "xyz789",
"displayed": false,
"labelerRestricted": true,
"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": false}
Response
{
"data": {
"updateDocumentMetaLabelerRestricted": {
"id": 123,
"cabinetId": 123,
"name": "xyz789",
"width": "xyz789",
"displayed": false,
"labelerRestricted": true,
"rowQuestionIndex": 987
}
}
}
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": "xyz789",
"width": "xyz789",
"displayed": false,
"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": "abc123"
}
Response
{
"data": {
"updateDocumentQuestion": {
"id": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "abc123",
"label": "xyz789",
"required": true,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"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": 123,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "xyz789",
"label": "abc123",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "xyz789",
"targetEntity": "abc123"
}
]
}
}
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
labeledLines
answeredLines
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": true
}
Response
{
"data": {
"updateDocumentStatus": {
"id": 4,
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 987,
"lastLabeledLine": 123,
"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": "abc123",
"version": 987,
"workspaceState": WorkspaceState,
"originId": 4,
"signature": "xyz789",
"part": 123
}
}
}
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": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "abc123",
"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": "xyz789",
"answer": "xyz789",
"createdAt": "xyz789",
"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": 123,
"createdAt": "abc123",
"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": [123],
"questionColumnId": 123,
"jobId": "4",
"createdAt": "abc123",
"updatedAt": "abc123"
}
}
}
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": "abc123",
"owner": User,
"type": "QUESTION",
"items": [LabelSetTemplateItem],
"count": 123,
"createdAt": "xyz789",
"updatedAt": "abc123",
"leafOnlyOption": true
}
}
}
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
cached
}
}
Variables
{"input": UpdateLabelingFunctionInput}
Response
{
"data": {
"updateLabelingFunction": {
"id": 4,
"dataProgrammingId": 4,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "abc123",
"content": "xyz789",
"active": false,
"createdAt": "abc123",
"updatedAt": "abc123",
"cached": false
}
}
}
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": "xyz789",
"updatedAt": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": "abc123",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": 987,
"numberOfTokens": 123,
"numberOfInputTokens": 123,
"numberOfOutputTokens": 987,
"deployedAt": "abc123",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "abc123",
"updatedAt": "abc123",
"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": "abc123",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
}
}
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": "xyz789",
"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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
createdAt
updatedAt
}
name
createdAt
updatedAt
}
}
Variables
{"input": LlmApplicationPlaygroundRagConfigUpdateInput}
Response
{
"data": {
"updateLlmApplicationPlaygroundRagConfig": {
"id": 4,
"llmApplicationId": 4,
"llmRagConfig": LlmRagConfig,
"name": "abc123",
"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": "xyz789",
"teamId": 4,
"projectId": 4,
"kind": "DOCUMENT_BASED",
"status": "CREATING",
"creationProgress": LlmEvaluationCreationProgress,
"scheduledCommandConfig": ScheduledCommandConfig,
"isScheduled": true,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 123,
"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": "abc123",
"updatedAt": "xyz789",
"isDeleted": false,
"type": "RATING",
"schedulingStatus": "NOT_STARTED",
"nextSchedule": "xyz789",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 123,
"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": "xyz789",
"dimension": 987
}
}
}
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": true
}
}
}
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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"teamId": "4", "projectTemplateIds": [4]}
Response
{
"data": {
"updatePinnedProjectTemplates": [
{
"id": 4,
"name": "xyz789",
"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": "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
enablePrelabeledDraft
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": "xyz789",
"tags": [Tag],
"type": "abc123",
"createdDate": "abc123",
"completedDate": "xyz789",
"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
}
}
}
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": 987
}
}
}
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": true,
"extension": Extension,
"height": 987,
"order": 123,
"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
enablePrelabeledDraft
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": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "xyz789",
"tags": [Tag],
"type": "xyz789",
"createdDate": "abc123",
"completedDate": "abc123",
"exportedDate": "xyz789",
"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
}
}
}
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": 123,
"signature": "xyz789",
"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": 123,
"signature": "abc123",
"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": "abc123",
"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
enablePrelabeledDraft
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": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "xyz789",
"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": 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
enablePrelabeledDraft
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
}
kinds
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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
type
description
imagePreviewURL
videoURL
}
}
Variables
{"input": UpdateProjectTemplateInput}
Response
{
"data": {
"updateProjectTemplateV2": {
"id": "4",
"name": "abc123",
"logoURL": "abc123",
"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": "xyz789",
"videoURL": "abc123"
}
}
}
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
enablePrelabeledDraft
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
}
kinds
createdAt
updatedAt
}
createdAt
updatedAt
purpose
creatorId
}
}
Variables
{"ids": ["4"]}
Response
{
"data": {
"updateProjectTemplatesOrdering": [
{
"id": 4,
"name": "abc123",
"teamId": "4",
"team": Team,
"logoURL": "xyz789",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": 4,
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"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
enablePrelabeledDraft
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": "abc123",
"rootDocumentId": 4,
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "abc123",
"createdDate": "xyz789",
"completedDate": "abc123",
"exportedDate": "abc123",
"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": false,
"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
}
kinds
createdAt
updatedAt
}
}
Variables
{"input": UpdateQuestionSetInput}
Response
{
"data": {
"updateQuestionSet": {
"name": "xyz789",
"id": "4",
"creator": User,
"items": [QuestionSetItem],
"kinds": ["DOCUMENT_BASED"],
"createdAt": "xyz789",
"updatedAt": "abc123"
}
}
}
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": "abc123",
"template": "abc123",
"createdAt": "xyz789",
"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": 987,
"cabinetId": 123,
"name": "abc123",
"width": "xyz789",
"displayed": true,
"labelerRestricted": false,
"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": "abc123",
"label": "abc123",
"required": false,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"activationConditionLogic": "xyz789",
"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": 987,
"internalId": "abc123",
"type": "DROPDOWN",
"name": "xyz789",
"label": "xyz789",
"required": false,
"config": QuestionConfig,
"bindToColumn": "abc123",
"activationConditionLogic": "xyz789",
"targetEntity": "xyz789"
}
]
}
}
updateSavedSearch
Response
Returns a SavedSearch!
Arguments
| Name | Description |
|---|---|
id - ID!
|
|
input - SaveSearchInput!
|
Example
Query
mutation UpdateSavedSearch(
$id: ID!,
$input: SaveSearchInput!
) {
updateSavedSearch(
id: $id,
input: $input
) {
id
owner {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
lastModifiedBy {
id
samlId
amazonCustomerId
username
name
email
package
profilePicture
allowedActions
displayName
teamPackage
emailVerified
totpAuthEnabled
companyName
createdAt
signUpParams {
...SignUpParamsFragment
}
}
name
description
type
conditions
projectId
createdAt
updatedAt
}
}
Variables
{"id": 4, "input": SaveSearchInput}
Response
{
"data": {
"updateSavedSearch": {
"id": 4,
"owner": User,
"lastModifiedBy": User,
"name": "xyz789",
"description": "xyz789",
"type": "STANDARD",
"conditions": "xyz789",
"projectId": 4,
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
}
}
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": true
}
}
}
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": "xyz789",
"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": "abc123",
"sentenceId": 987,
"resolved": true,
"labelerId": 123
}
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": false
}
}
}
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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "abc123",
"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": false,
"joinedDate": "abc123",
"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
enabledCustomObjectStorage
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
}
enableDeployedApplicationLogging
enableRealTimeAssistedLabelingSpanBased
enableLabelsAndAnswersExportFormat
}
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": "xyz789",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "xyz789",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"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": "abc123",
"idpUrl": "abc123",
"spIssuer": "xyz789",
"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
labeledLines
answeredLines
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": "abc123",
"currentSentenceCursor": 987,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"isCompleted": true,
"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": 987
}
}
}
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": false,
"autoScrollWhenLabeling": true,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "abc123",
"tokenizer": "xyz789",
"editSentenceTokenizer": "abc123",
"displayedRows": 123,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": true,
"enableTabularMarkdownParsing": true,
"enableAnonymization": true,
"anonymizationEntityTypes": [
"abc123"
],
"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
labeledLines
answeredLines
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": "xyz789",
"currentSentenceCursor": 123,
"lastLabeledLine": 123,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"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": "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": "abc123",
"amazonCustomerId": "xyz789",
"username": "abc123",
"name": "abc123",
"email": "xyz789",
"package": "ENTERPRISE",
"profilePicture": "xyz789",
"allowedActions": ["AUTOMATED_TEST"],
"displayName": "xyz789",
"teamPackage": "ENTERPRISE",
"emailVerified": false,
"totpAuthEnabled": false,
"companyName": "abc123",
"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": "abc123",
"content": "abc123",
"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": "abc123",
"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
labeledBy
labeledByUserId
}
}
Variables
{"documentId": 4, "labels": [BBoxLabelInput]}
Response
{
"data": {
"upsertBBoxLabels": [
{
"id": "4",
"documentId": 4,
"bboxLabelClassId": "4",
"deleted": false,
"caption": "abc123",
"shapes": [BBoxShape],
"answers": AnswerScalar,
"labeledBy": "PRELABELED",
"labeledByUserId": "4"
}
]
}
}
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": 123,
"pageIndex": 987,
"layer": 123,
"position": TextRange,
"hashCode": "xyz789",
"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": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
]
}
}
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
}
llmVectorStores {
...LlmVectorStoreFragment
}
similarityThreshold
enableAnonymization
maxChunkSize
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": 123,
"numberOfInputTokens": 123,
"numberOfOutputTokens": 123,
"deployedAt": "xyz789",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "abc123",
"updatedAt": "xyz789",
"apiEndpoints": [
LlmApplicationDeploymentApiEndpoint
],
"isDeleted": true
}
}
}
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": "abc123",
"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": 123.45,
"reason": "abc123",
"alertExpression": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"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": "xyz789",
"type": "DROPDOWN",
"name": "xyz789",
"label": "xyz789",
"required": false,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"activationConditionLogic": "abc123",
"targetEntity": "abc123"
}
]
}
}
upsertOauthClient
Description
Updates the oauth client.
Response
Returns an UpsertOauthClientResult
Arguments
| Name | Description |
|---|---|
input - UpsertOauthClientInput
|
Example
Query
mutation UpsertOauthClient($input: UpsertOauthClientInput) {
upsertOauthClient(input: $input) {
id
secret
}
}
Variables
{"input": UpsertOauthClientInput}
Response
{
"data": {
"upsertOauthClient": {
"id": "abc123",
"secret": "xyz789"
}
}
}
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": "xyz789",
"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": 123,
"position": TextRange,
"startTimestampMillis": 987,
"endTimestampMillis": 987,
"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": "xyz789"
}
}
}
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": false}}
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"
AcceptTeamInvitationLinkInput
Fields
| Input Field | Description |
|---|---|
invitationKey - String!
|
Example
{"invitationKey": "xyz789"}
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": "xyz789",
"createdAt": "xyz789",
"projectId": 4,
"projectName": "abc123",
"documentId": "4",
"documentType": "xyz789",
"documentName": "xyz789",
"labelAddressHashCode": "xyz789",
"labelType": "xyz789",
"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
AddCustomEmbeddingModelInput
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": "xyz789",
"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": "xyz789",
"defaultTemplateType": "WITH_SPECIFIC_TARGET_LABEL",
"content": "abc123",
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar
}
AddLlmCustomModelInput
Example
{
"teamId": 4,
"name": "abc123",
"displayName": "xyz789",
"url": "abc123",
"apiKey": "xyz789",
"maxContextWindow": 123,
"maxTokens": 987,
"maxTemperature": 987.65,
"maxTopP": 123.45
}
AdditionalTeamSetting
Fields
| Field Name | Description |
|---|---|
customUploadSetting - CustomUploadSetting
|
|
enableGeneratedInvitationLink - Boolean
|
Example
{
"customUploadSetting": CustomUploadSetting,
"enableGeneratedInvitationLink": true
}
AgentType
Values
| Enum Value | Description |
|---|---|
|
|
Example
"LLM_LABS"
AnalyticsDashboardQueryInput
Example
{
"teamId": 4,
"projectId": 4,
"userId": "4",
"teamMemberId": "4",
"labelType": "TOKEN_OR_ROW_BASED",
"calendarDate": "abc123",
"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": ["xyz789"],
"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!
|
|
labeledByUserId - ID
|
|
createdAt - String
|
|
updatedAt - String
|
Example
{
"path": "xyz789",
"labeledBy": "PRELABELED",
"labeledByUserId": "4",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
AnswerMetadataInput
Fields
| Input Field | Description |
|---|---|
path - String!
|
|
labeledBy - LabelPhase
|
Example
{
"path": "abc123",
"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": "xyz789",
"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": "abc123",
"desc": "abc123",
"id": 4,
"color": "abc123",
"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
|
|
providerRawResponse - LLMLabsResponse
|
Example
{
"id": 4,
"documentId": 4,
"bboxLabelClassId": "4",
"caption": "xyz789",
"shapes": [BBoxShape],
"confidenceScore": 123.45,
"error": AutoLabelError,
"providerRawResponse": LLMLabsResponse
}
AutoLabelDocBasedInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
Example
{"documentId": 4}
AutoLabelDocBasedOutput
Fields
| Field Name | Description |
|---|---|
documentId - ID!
|
|
answers - AnswerScalar!
|
|
providerRawResponse - LLMLabsResponse
|
Example
{
"documentId": "4",
"answers": AnswerScalar,
"providerRawResponse": LLMLabsResponse
}
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": "xyz789",
"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": 123}
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
|
|
providerRawResponse - LLMLabsResponse
|
Example
{
"id": 987,
"label": "abc123",
"error": AutoLabelError,
"providerRawResponse": LLMLabsResponse
}
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
|
|
providerRawResponse - LLMLabsResponse
|
Example
{
"label": "abc123",
"deleted": true,
"layer": 123,
"start": TextCursor,
"end": TextCursor,
"confidenceScore": 123.45,
"error": AutoLabelError,
"providerRawResponse": LLMLabsResponse
}
AutoLabelTokenBasedProjectInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
labelerEmail - String!
|
|
role - Role
|
|
targetAPI - TargetApiInput!
|
|
options - AutoLabelProjectOptionsInput!
|
Example
{
"projectId": 4,
"labelerEmail": "xyz789",
"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
|
|
labeledBy - LabelPhase
|
|
labeledByUserId - ID
|
Example
{
"id": "4",
"documentId": 4,
"bboxLabelClassId": "4",
"deleted": true,
"caption": "xyz789",
"shapes": [BBoxShape],
"answers": AnswerScalar,
"labeledBy": "PRELABELED",
"labeledByUserId": "4"
}
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": "xyz789",
"shapes": [BBoxShapeInput],
"answers": AnswerScalar
}
BBoxLabelSet
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
classes - [BBoxLabelClass!]!
|
|
autoLabelProvider - BBoxAutoLabelProvider
|
Example
{
"id": "4",
"name": "xyz789",
"classes": [BBoxLabelClass],
"autoLabelProvider": "TESSERACT"
}
BBoxLabelSetInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
classes - [UpdateBBoxLabelClassInput!]!
|
|
autoLabelProvider - BBoxAutoLabelProvider
|
Example
{
"id": "4",
"name": "xyz789",
"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": 123, "points": [BBoxPoint]}
BBoxShapeInput
Fields
| Input Field | Description |
|---|---|
pageIndex - Int!
|
|
points - [BBoxPointInput!]!
|
Example
{"pageIndex": 123, "points": [BBoxPointInput]}
Boolean
Description
The Boolean scalar type represents true or false.
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": 123,
"layer": 123,
"position": TextRange,
"hashCode": "xyz789",
"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": 987,
"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": ["xyz789"],
"metadata": [CellMetadata],
"conversationalMetadata": ConversationalMetadata,
"status": "DISPLAYED",
"conflict": false,
"conflicts": [CellConflict],
"originCell": Cell
}
CellConflict
Fields
| Field Name | Description |
|---|---|
documentId - ID!
|
|
labelerId - Int!
|
|
labelerTeamMemberId - ID
|
|
cell - Cell!
|
|
labels - [TextLabel!]!
|
Example
{
"documentId": 4,
"labelerId": 123,
"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": "abc123",
"type": "abc123",
"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": "xyz789",
"newPassword": "xyz789",
"confirmNewPassword": "abc123",
"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": "abc123",
"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": "xyz789",
"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": [123],
"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": 987,
"user": User,
"message": "xyz789",
"resolved": true,
"resolvedAt": "abc123",
"resolvedBy": User,
"repliesCount": 123,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"lastEditedAt": "xyz789",
"hashCode": "abc123",
"commentedContent": CommentedContent
}
CommentNotificationType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"OFF"
CommentedContent
Fields
| Field Name | Description |
|---|---|
hashCodeType - String!
|
|
contexts - [CommentedContentContextValue!]!
|
|
currentValue - [CommentedContentCurrentValue!]
|
Example
{
"hashCodeType": "abc123",
"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!]
|
|
labelPhase - LabelPhase!
|
|
acceptedByUserId - ID
|
|
rejectedByUserId - ID
|
Example
{
"resolved": false,
"value": "abc123",
"userIds": [4],
"users": [User],
"contributorInfos": [ContributorInfo],
"labelPhase": "PRELABELED",
"acceptedByUserId": "4",
"rejectedByUserId": "4"
}
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": "xyz789"
}
ConflictContributorIds
Fields
| Field Name | Description |
|---|---|
labelHashCode - String!
|
|
contributorIds - [Int!]!
|
Please use contributorInfos |
contributorInfos - [ContributorInfo!]!
|
Example
{
"labelHashCode": "abc123",
"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": [123],
"labelers": [User],
"resolved": true,
"text": "xyz789",
"hashCode": "abc123",
"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": "abc123",
"indent": 987,
"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": true,
"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": "abc123",
"projectTemplateId": "4",
"assignments": [CreateProjectActionAssignmentInput],
"additionalTagNames": ["abc123"],
"numberOfLabelersPerProject": 987,
"numberOfReviewersPerProject": 123,
"numberOfLabelersPerDocument": 123,
"conflictResolutionMode": "MANUAL",
"consensus": 123
}
CreateCustomAPIInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
|
endpointURL - String!
|
|
purpose - CustomAPIPurpose!
|
|
secret - String!
|
Example
{
"name": "xyz789",
"endpointURL": "abc123",
"purpose": "ASR_API",
"secret": "xyz789"
}
CreateDocumentChunkInput
Example
{
"llmVectorStoreId": 4,
"fileName": "abc123",
"objectKey": "abc123",
"chunkConfiguration": ChunkConfiguration,
"externalObjectStorageId": 4,
"filePath": "xyz789"
}
CreateDocumentChunkResult
Fields
| Field Name | Description |
|---|---|
chunks - [DocumentChunk!]!
|
|
defaultChunkMetadata - DefaultChunkMetadata
|
Example
{
"chunks": [DocumentChunk],
"defaultChunkMetadata": DefaultChunkMetadata
}
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": "xyz789",
"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": "abc123",
"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": true,
"leafOnlyOption": false
}
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": "abc123",
"teamId": 4,
"questions": [LabelSetTemplateItemInput],
"leafOnlyOption": true
}
CreateLlmApplicationConfigurationInput
Example
{
"name": "xyz789",
"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": "xyz789",
"teamId": "4",
"provider": "DATASAUR",
"llmEmbeddingModelId": 4,
"collectionId": "xyz789",
"authenticationScheme": "BASIC",
"username": "abc123",
"password": "xyz789",
"questions": [QuestionInput],
"dimension": 987,
"chunkConfiguration": ChunkConfiguration
}
CreateNewPasswordInput
Fields
| Input Field | Description |
|---|---|
newPassword - String!
|
|
confirmNewPassword - String!
|
|
totpCode - TotpCodeInput
|
Example
{
"newPassword": "abc123",
"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": "abc123",
"teamId": "4",
"appVersion": "abc123",
"creatorId": 4,
"lastRunAt": "xyz789",
"lastFinishedAt": "abc123",
"externalObjectStorageId": 4,
"externalObjectStorage": ExternalObjectStorage,
"externalObjectStoragePathInput": "abc123",
"externalObjectStoragePathResult": "xyz789",
"projectTemplateId": "4",
"projectTemplate": ProjectTemplate,
"assignments": [CreateProjectActionAssignment],
"additionalTagNames": ["abc123"],
"numberOfLabelersPerProject": 987,
"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": 987
}
CreateProjectActionAssignmentInput
Description
Parameters for assigning a create project Action.
Fields
| Input Field | Description |
|---|---|
teamMemberId - String!
|
|
role - ProjectAssignmentRole!
|
Example
{
"teamMemberId": "abc123",
"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": "xyz789",
"endAt": "xyz789",
"totalSuccess": 123,
"totalFailure": 123,
"externalObjectStorageId": "abc123",
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "abc123",
"projectTemplate": Snapshot,
"assignments": [Snapshot],
"numberOfLabelersPerProject": 987,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 123,
"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": "xyz789",
"error": DatasaurError,
"project": Snapshot,
"projectPath": "xyz789",
"documentNames": ["xyz789"]
}
CreateProjectActionRunDetailFilterInput
CreateProjectActionRunDetailPaginatedResponse
Description
Paginated list of create project Action run details.
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [CreateProjectActionRunDetail!]!
|
Example
{
"totalCount": 123,
"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": "abc123"
}
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": "xyz789",
"members": [TeamMemberInput],
"logo": Upload
}
CreateTextDocumentInput
Description
To provide the document, choose one of these fields:
filefileUrlexternalImportableUrlexternalObjectStorageFileKeyobjectKey
To provide the answer file (for pre-labeled), choose one of these fields:
answerFileanswerExternalImportableUrlexternalObjectStorageAnswerFileKeyanswerObjectKey
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": "abc123",
"file": Upload,
"fileUrl": "xyz789",
"externalImportableUrl": "xyz789",
"externalObjectStorageFileKey": "abc123",
"objectKey": "xyz789",
"answerFileName": "xyz789",
"answerFile": Upload,
"answerExternalImportableUrl": "abc123",
"externalObjectStorageAnswerFileKey": "abc123",
"answerObjectKey": "xyz789",
"settings": SettingsInput,
"type": "POS",
"extraFiles": [Upload],
"docFileOptions": DocFileOptionsInput,
"questionFile": Upload,
"questionFileName": "abc123",
"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": "abc123",
"email": "xyz789",
"password": "abc123",
"googleId": "abc123",
"oktaId": "xyz789",
"amazonId": "abc123",
"phoneNumber": "abc123",
"companyName": "abc123",
"passwordConfirmation": "abc123",
"redirect": "xyz789",
"betaKey": "xyz789",
"invitationKey": "xyz789",
"recaptcha": "abc123",
"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": "abc123",
"transcriptConfig": TranscriptConfigInput,
"enableTabularMarkdownParsing": false,
"firstRowAsHeader": true,
"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"
CustomEmbeddingModelDefaultData
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. |
includeDiagnostic - Boolean
|
Optional. Include diagnostic data in the export. |
Example
{
"metricsGroupId": "4",
"selectedSegments": ["DATE"],
"selectedMetrics": ["LABELS_ACCURACY"],
"method": "FILE_STORAGE",
"filters": [CustomReportFilter],
"dataSet": "METABASE",
"includeDiagnostic": true
}
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"
CustomReportFilterFieldSuggestionsInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
type - CustomReportFilterColumn!
|
|
keyword - String
|
Example
{
"teamId": "4",
"type": "DATE",
"keyword": "xyz789"
}
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!]!
|
|
hiddenFilters - [CustomReportFilterColumn!]!
|
Example
{
"id": 4,
"name": "xyz789",
"description": "abc123",
"clientSegments": ["DATE"],
"metrics": ["LABELS_ACCURACY"],
"filterStrategies": ["CONTAINS"],
"hiddenFilters": ["DATE"]
}
CustomReportPreviewData
Fields
| Field Name | Description |
|---|---|
rows - [CustomReportRowScalar!]
|
Example
{"rows": [CustomReportRowScalar]}
CustomReportPreviewFilter
CustomReportPreviewInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - CustomReportPreviewFilter!
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": CustomReportPreviewFilter,
"sort": [SortInput]
}
CustomReportPreviewResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [CustomReportRowScalar!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [CustomReportRowScalar]
}
CustomReportRowScalar
Example
CustomReportRowScalar
CustomReportSuggestion
Fields
| Field Name | Description |
|---|---|
id - String!
|
|
label - String!
|
|
groupId - LabelerGroupId
|
Example
{
"id": "abc123",
"label": "xyz789",
"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": "abc123"}
CustomUploadSetting
Fields
| Field Name | Description |
|---|---|
enableCustomUpload - Boolean!
|
Example
{"enableCustomUpload": true}
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": "xyz789",
"updatedAt": "xyz789",
"lastGetPredictionsAt": "xyz789"
}
DataProgrammingLabel
DataProgrammingLabelInput
DataProgrammingLabelingFunctionAnalysis
DataProgrammingLibraries
Fields
| Field Name | Description |
|---|---|
libraries - [String!]!
|
Example
{"libraries": ["abc123"]}
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": "abc123"
}
DatasaurDinamicRowBasedProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"HUGGINGFACE"
DatasaurDinamicRowBasedProviders
Fields
| Field Name | Description |
|---|---|
name - String!
|
|
provider - DatasaurDinamicRowBasedProvider!
|
Example
{
"name": "abc123",
"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": 987,
"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": "abc123",
"provider": "HUGGINGFACE"
}
DatasaurError
Fields
| Field Name | Description |
|---|---|
code - String!
|
|
message - String
|
|
args - DatasaurErrorArgs!
|
Example
{
"code": "abc123",
"message": "xyz789",
"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": [987],
"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
DefaultChunkMetadata
Example
DefaultChunkMetadata
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": "abc123"
}
DeleteProjectInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
Example
{"projectId": "4"}
DeleteRowResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
deletedCells - [Cell!]!
|
Example
{
"document": TextDocument,
"deletedCells": [Cell]
}
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": "abc123",
"lang": "abc123",
"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": true
}
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": "xyz789",
"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": "xyz789",
"externalUrl": "abc123",
"objectKey": "xyz789"
}
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": 123,
"name": "xyz789",
"width": "abc123",
"displayed": true,
"labelerRestricted": false,
"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": 987,
"delete": true,
"name": "xyz789",
"description": "xyz789",
"required": false,
"multipleChoice": false,
"displayed": true,
"labelerRestricted": true,
"options": [DocumentMetaOptionInput],
"type": "DROPDOWN",
"width": "abc123"
}
DocumentMetaOptionInput
DocumentPatternRuleInput
DocumentPredictionInput
DocumentRulesInput
Fields
| Input Field | Description |
|---|---|
llmVectorStoreSourceId - ID
|
The source id. Null for local drive. |
rules - [DocumentPatternRuleInput!]!
|
The rules. |
Example
{
"llmVectorStoreSourceId": 4,
"rules": [DocumentPatternRuleInput]
}
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
EditCustomEmbeddingModelInput
EditLlmCustomModelInput
Example
{
"id": "4",
"name": "abc123",
"url": "abc123",
"apiKey": "xyz789",
"maxContextWindow": 987,
"maxTokens": 123,
"maxTemperature": 987.65,
"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": "xyz789",
"text": "abc123",
"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
ExportLlmApplicationDeploymentLogInput
ExportLlmEvaluationAutomatedInput
ExportLlmEvaluationManualInput
Fields
| Input Field | Description |
|---|---|
llmEvaluationId - ID!
|
|
fileName - String
|
|
exportType - GqlLlmManualEvaluationExportType
|
Example
{
"llmEvaluationId": "4",
"fileName": "xyz789",
"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. |
key - String
|
Object storage key. It should be used when choosing FILE_STORAGE method |
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": "xyz789",
"fileUrlExpiredAt": "xyz789",
"key": "xyz789",
"queued": false,
"redirect": "abc123"
}
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": "xyz789",
"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": "xyz789",
"customScriptId": 4,
"fileTransformerId": "4",
"format": "xyz789",
"fileName": "xyz789",
"method": "FILE_STORAGE",
"url": "xyz789",
"secret": "xyz789",
"externalFileStorageParameter": ExternalFileStorageInput,
"externalObjectStorageParameter": ExternalObjectStorageInput,
"includedCommentType": ["COMMENT"],
"maskPIIEntities": true,
"gcpMlUse": "abc123",
"includeConflicted": true,
"includeMediaFiles": true,
"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": "xyz789",
"secret": "abc123",
"externalFileStorageParameter": ExternalFileStorageInput,
"externalObjectStorageParameter": ExternalObjectStorageInput,
"includedCommentType": ["COMMENT"],
"maskPIIEntities": true,
"filteredCabinetRole": "REVIEWER",
"gcpMlUse": "abc123",
"includeConflicted": false,
"includeMediaFiles": true,
"includeActivity": true,
"prefixFileNamesWithFolderPath": false,
"fileExtensionNamingMode": "LEGACY"
}
ExportableJSON
Example
ExportableJSON
ExtendedChatCompletionChoice
Fields
| Field Name | Description |
|---|---|
finishReason - String!
|
|
index - Int!
|
|
message - ExtendedChatCompletionMessage!
|
Example
{
"finishReason": "xyz789",
"index": 987,
"message": ExtendedChatCompletionMessage
}
ExtendedChatCompletionMessage
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": "xyz789",
"confidenceScore": 123.45,
"locked": false,
"modelId": "xyz789",
"apiToken": "xyz789",
"systemPrompt": "abc123",
"userPrompt": "abc123",
"temperature": "xyz789",
"topP": "xyz789",
"model": "abc123",
"enableLabelingFunctionMultipleLabel": true,
"endpointArn": "abc123",
"roleArn": "abc123",
"endpointAwsSagemakerArn": "xyz789",
"awsSagemakerRoleArn": "xyz789",
"externalId": "abc123",
"namespace": "xyz789",
"inputColumns": [123],
"questionColumn": 123,
"questionColumns": [987],
"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": "abc123",
"enableLabelingFunctionMultipleLabel": false,
"endpointArn": "xyz789",
"roleArn": "abc123",
"endpointAwsSagemakerArn": "abc123",
"awsSagemakerRoleArn": "xyz789",
"externalId": "xyz789",
"namespace": "abc123",
"inputColumns": [987],
"questionColumn": 123,
"questionColumns": [987],
"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": "xyz789",
"credentials": ExternalObjectStorageCredentials,
"securityToken": "abc123",
"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": "abc123",
"tenantId": "xyz789",
"storageContainerUrl": "xyz789",
"region": "xyz789",
"tenantUsername": "abc123"
}
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 |
spaceId - String
|
Required for Contentful only. Space ID of the organization |
environment - String
|
Required for Contentful only. Environment of the organization |
accessToken - String
|
Required for Contentful only. Access Token of the organization |
clientPortalAddress - String
|
Required for Contentful only. Client Portal Address of the organization |
entryParams - String
|
Required for Contentful only. Entry Params of the organization |
Example
{
"roleArn": "abc123",
"externalId": "abc123",
"serviceAccount": "abc123",
"tenantId": "abc123",
"storageContainerUrl": "xyz789",
"region": "abc123",
"clientId": "abc123",
"clientSecret": "abc123",
"tenantUsername": "xyz789",
"tenantPassword": "abc123",
"refreshToken": "abc123",
"redirectUri": "xyz789",
"spaceId": "abc123",
"environment": "abc123",
"accessToken": "abc123",
"clientPortalAddress": "abc123",
"entryParams": "xyz789"
}
ExternalObjectStorageInput
Example
{
"externalObjectStorageId": "xyz789",
"prefix": "abc123"
}
FileTransformer
Example
{
"id": 4,
"name": "abc123",
"content": "abc123",
"transpiled": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789",
"language": "TYPESCRIPT",
"purpose": "IMPORT",
"readonly": false,
"externalId": "xyz789",
"warmup": true
}
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": 123.45,
"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": 987,
"runPromptMaxAmount": 123,
"runPromptUnit": "xyz789",
"embedDocumentCurrentAmount": 123.45,
"embedDocumentMaxAmount": 123.45,
"embedDocumentUnit": "xyz789",
"embedDocumentUrlCurrentAmount": 987,
"embedDocumentUrlMaxAmount": 123,
"embedDocumentUrlUnit": "abc123",
"llmEvaluationCurrentAmount": 987,
"llmEvaluationMaxAmount": 123,
"llmEvaluationUnit": "abc123",
"llmFineTuningCreationCurrentAmount": 123,
"llmFineTuningCreationMaxAmount": 123,
"llmFineTuningCreationUnit": "abc123",
"llmFineTuningDeploymentCurrentAmount": 987,
"llmFineTuningDeploymentMaxAmount": 123,
"llmFineTuningDeploymentUnit": "abc123"
}
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": 123.45,
"showIndexBar": false,
"showLabels": "ALWAYS",
"keepLabelBoxOpenAfterRelabel": false,
"jumpToNextDocumentOnSubmit": false,
"jumpToNextDocumentOnDocumentCompleted": true,
"jumpToNextSpanOnSubmit": true,
"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": true,
"showLabels": "ALWAYS",
"keepLabelBoxOpenAfterRelabel": false,
"jumpToNextDocumentOnSubmit": false,
"jumpToNextDocumentOnDocumentCompleted": true,
"jumpToNextSpanOnSubmit": true,
"multipleSelectLabels": true
}
GeneralWorkspaceSettingsLineSpacing
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"DENSE"
GeneralWorkspaceSettingsShowLabels
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ALWAYS"
GenerateFileUrlsInput
Fields
| Input Field | Description |
|---|---|
fileNames - [String!]!
|
Example
{"fileNames": ["abc123"]}
GetActivitiesFilter
GetActivitiesInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - CursorPageInput
|
|
filter - GetActivitiesFilter!
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"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": "xyz789"
}
GetActivitiesSuggestionResponse
Fields
| Field Name | Description |
|---|---|
suggestions - [ActivitySuggestion!]!
|
Example
{"suggestions": [ActivitySuggestion]}
GetAnalyticsPerformanceInput
GetAnalyticsPerformanceResult
Fields
| Field Name | Description |
|---|---|
documentStatus - [DocumentStatus!]!
|
|
numberOfMissedLabels - Int!
|
|
numberOfAnsweredLines - Int!
|
|
activeDurationInMillis - Int!
|
|
projectStatisticsPerLabelType - [ProjectStatisticPerLabelType!]!
|
Example
{
"documentStatus": [DocumentStatus],
"numberOfMissedLabels": 123,
"numberOfAnsweredLines": 987,
"activeDurationInMillis": 987,
"projectStatisticsPerLabelType": [
ProjectStatisticPerLabelType
]
}
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": false, "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": "abc123",
"page": OffsetPageInput,
"filter": GetCellsFilterInput
}
GetCellsPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [CellScalar!]!
|
Example
{
"totalCount": 123,
"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": "abc123",
"page": OffsetPageInput,
"filter": GetCommentsFilterInput,
"sort": [SortInput]
}
GetCommentsResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [Comment!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [Comment]
}
GetConfusionMatrixTablesInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
projectKinds - [ProjectKind!]!
|
|
caseId - String!
|
|
filters - EvaluationMetricFilters
|
Example
{
"projectId": 4,
"projectKinds": ["DOCUMENT_BASED"],
"caseId": "abc123",
"filters": EvaluationMetricFilters
}
GetCurrentUserTeamMemberInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
Example
{"teamId": 4}
GetCustomEmbeddingDefaultDataInput
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": 987
}
GetDatasaurDinamicTokenBasedInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
provider - DatasaurDinamicTokenBasedProvider!
|
|
targetLabelSetIndex - Int!
|
Example
{"projectId": 4, "provider": "HUGGINGFACE", "targetLabelSetIndex": 123}
GetDatasaurPredictiveInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
provider - DatasaurPredictiveProvider!
|
|
questionColumnId - Int!
|
Example
{
"projectId": "4",
"provider": "SETFIT",
"questionColumnId": 123
}
GetEvaluationMetricInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
projectKinds - [ProjectKind!]!
|
|
filters - EvaluationMetricFilters
|
Example
{
"projectId": 4,
"projectKinds": ["DOCUMENT_BASED"],
"filters": EvaluationMetricFilters
}
GetExportDeliveryStatusResult
Fields
| Field Name | Description |
|---|---|
deliveryStatus - ExportDeliveryStatus!
|
|
errors - [JobError!]!
|
Example
{"deliveryStatus": "DELIVERED", "errors": [JobError]}
GetExternalFilesByApiInput
GetGroundTruthSetInput
GetLabelErrorDetectionRowBasedSuggestionsInput
GetLabelSetTemplatesFilterInput
Fields
| Input Field | Description |
|---|---|
teamId - ID
|
|
keyword - String
|
|
types - [LabelSetTemplateType!]
|
|
ownerIds - [Int]
|
Example
{
"teamId": 4,
"keyword": "xyz789",
"types": ["QUESTION"],
"ownerIds": [987]
}
GetLabelSetTemplatesPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetLabelSetTemplatesFilterInput
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetLabelSetTemplatesFilterInput,
"sort": [SortInput]
}
GetLabelSetTemplatesResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [LabelSetTemplate!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LabelSetTemplate]
}
GetLabelingFunctionInput
Fields
| Input Field | Description |
|---|---|
labelingFunctionId - ID!
|
Example
{"labelingFunctionId": 4}
GetLabelingFunctionsInput
GetLabelingFunctionsPairKappaInput
Fields
| Input Field | Description |
|---|---|
dataProgrammingId - ID!
|
|
labelingFunctionIds - [ID!]!
|
|
kind - ProjectKind!
|
|
role - Role!
|
|
noCache - Boolean
|
Example
{
"dataProgrammingId": 4,
"labelingFunctionIds": [4],
"kind": "DOCUMENT_BASED",
"role": "REVIEWER",
"noCache": true
}
GetLabelingFunctionsPairKappaOutput
Fields
| Field Name | Description |
|---|---|
labelingFunctionPairKappas - [LabelingFunctionPairKappa!]!
|
|
lastCalculatedAt - String!
|
Example
{
"labelingFunctionPairKappas": [
LabelingFunctionPairKappa
],
"lastCalculatedAt": "xyz789"
}
GetLabelsPaginatedByLineInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetLabelsPositionFilterInput
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetLabelsPositionFilterInput
}
GetLabelsPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput
}
GetLabelsPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [TextLabelScalar!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [TextLabelScalar]
}
GetLabelsPositionFilterInput
GetLlmApplicationDeploymentInput
GetLlmApplicationDeploymentsFilterInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
keyword - String
|
|
createdByUserIds - [ID!]
|
|
deployedByUserIds - [ID!]
|
|
statuses - [GqlLlmApplicationDeploymentStatus!]
|
Example
{
"teamId": 4,
"keyword": "abc123",
"createdByUserIds": ["4"],
"deployedByUserIds": ["4"],
"statuses": ["SUSPENDED"]
}
GetLlmApplicationDeploymentsPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetLlmApplicationDeploymentsFilterInput
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetLlmApplicationDeploymentsFilterInput,
"sort": [SortInput]
}
GetLlmApplicationInput
GetLlmApplicationsFilterInput
Description
Parameters to filter the results
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
keyword - String
|
|
createdByUserIds - [ID!]
|
|
deployedByUserIds - [ID!]
|
|
statuses - [GqlLlmApplicationStatus!]
|
Example
{
"teamId": 4,
"keyword": "xyz789",
"createdByUserIds": [4],
"deployedByUserIds": ["4"],
"statuses": ["DEPLOYED"]
}
GetLlmApplicationsPaginatedInput
Description
Parameters for getLlmApplications endpoint.
Fields
| Input Field | Description |
|---|---|
cursor - String
|
Cursor to the current page of result. |
page - OffsetPageInput
|
Offset Pagination controls. skip: The number of results to be skipped. take: The maximum number of results to be returned. |
filter - GetLlmApplicationsFilterInput
|
Filters the results by the specified parameters. |
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetLlmApplicationsFilterInput,
"sort": [SortInput]
}
GetLlmEvaluationDetailPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - LlmEvaluationDetailFilterInput
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": LlmEvaluationDetailFilterInput,
"sort": [SortInput]
}
GetLlmEvaluationInput
GetLlmEvaluationsFilterInput
Description
Parameters to filter the results
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
The team id that the LLM evaluation belongs to. |
llmRagConfigIds - [ID!]
|
The RAG config id. |
types - [GqlLlmEvaluationType!]
|
The project kind. |
statuses - [GqlLlmEvaluationStatus!]
|
The project status. |
keyword - String
|
The keyword to search. |
hasSchedule - Boolean
|
The condition to check if the LLM evaluation has schedule |
schedulingStatuses - [GqlLlmEvaluationSchedulingStatus!]
|
The scheduling status of the LLM evaluation. |
Example
{
"teamId": 4,
"llmRagConfigIds": ["4"],
"types": ["RATING"],
"statuses": ["CREATING"],
"keyword": "abc123",
"hasSchedule": false,
"schedulingStatuses": ["NOT_STARTED"]
}
GetLlmEvaluationsPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
Cursor to the current page of result. |
page - OffsetPageInput
|
Offset Pagination controls. skip: The number of results to be skipped. take: The maximum number of results to be returned. |
filter - GetLlmEvaluationsFilterInput
|
Filters the results by the specified parameters. |
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetLlmEvaluationsFilterInput,
"sort": [SortInput]
}
GetLlmGeneratedInstructionInput
Fields
| Input Field | Description |
|---|---|
task - String!
|
|
type - GqlLlmGeneratedInstructionType!
|
|
modelName - String!
|
Example
{
"task": "xyz789",
"type": "SYSTEM_INSTRUCTION",
"modelName": "abc123"
}
GetLlmUsagesFilterInput
Description
Parameters to filter the results
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
startDate - String
|
|
endDate - String
|
|
llmModelNames - [String!]
|
|
llmUsageTypes - [GqlLlmUsageType!]
|
Example
{
"teamId": "4",
"startDate": "abc123",
"endDate": "abc123",
"llmModelNames": ["abc123"],
"llmUsageTypes": ["VECTOR_STORE"]
}
GetLlmUsagesPaginatedInput
Description
Parameters for getLlmUsages endpoint.
Fields
| Input Field | Description |
|---|---|
cursor - String
|
Cursor to the current page of result. |
page - OffsetPageInput
|
Offset Pagination controls. skip: The number of results to be skipped. take: The maximum number of results to be returned. |
filter - GetLlmUsagesFilterInput
|
Filters the results by the specified parameters. |
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetLlmUsagesFilterInput,
"sort": [SortInput]
}
GetLlmVectorStoreActivityFilter
GetLlmVectorStoreActivityInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - CursorPageInput
|
|
filter - GetLlmVectorStoreActivityFilter
|
|
sort - [SortInput!]
|
Example
{
"cursor": "xyz789",
"page": CursorPageInput,
"filter": GetLlmVectorStoreActivityFilter,
"sort": [SortInput]
}
GetLlmVectorStoreActivityResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [LlmVectorStoreActivity!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmVectorStoreActivity]
}
GetLlmVectorStoreDocumentsIncludingDeletedResponse
Fields
| Field Name | Description |
|---|---|
documents - [LlmVectorStoreDocumentScalar!]
|
|
sourceDocuments - [LlmVectorStoreSourceDocument!]
|
Example
{
"documents": [LlmVectorStoreDocumentScalar],
"sourceDocuments": [LlmVectorStoreSourceDocument]
}
GetLlmVectorStoreDocumentsPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - LlmVectorStoreDocumentsPaginatedFilterInput
|
|
sort - [LlmVectorStoreDocumentsPaginatedSortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": LlmVectorStoreDocumentsPaginatedFilterInput,
"sort": [LlmVectorStoreDocumentsPaginatedSortInput]
}
GetLlmVectorStoreInput
GetLlmVectorStoreSourceDocumentPreviewPathInput
GetLlmVectorStoresFilterInput
Description
Parameters to filter the results
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
keyword - String
|
|
createdByUserIds - [ID!]
|
|
statuses - [GqlLlmVectorStoreStatus!]
|
Example
{
"teamId": 4,
"keyword": "abc123",
"createdByUserIds": [4],
"statuses": ["CREATED"]
}
GetLlmVectorStoresPaginatedInput
Description
Parameters for getLlmVectorStores endpoint.
Fields
| Input Field | Description |
|---|---|
cursor - String
|
Cursor to the current page of result. |
page - OffsetPageInput
|
Offset Pagination controls. skip: The number of results to be skipped. take: The maximum number of results to be returned. |
filter - GetLlmVectorStoresFilterInput
|
Filters the results by the specified parameters. |
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetLlmVectorStoresFilterInput,
"sort": [SortInput]
}
GetMultipleProjectsInput
GetOrCreateLabelErrorDetectionRowBasedInput
GetOrCreateTeamInvitationLinkInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
role - TeamMemberRole
|
Example
{"teamId": 4, "role": "ADMIN"}
GetPaginatedGroundTruthSetFilterInput
GetPaginatedGroundTruthSetInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetPaginatedGroundTruthSetFilterInput
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetPaginatedGroundTruthSetFilterInput,
"sort": [SortInput]
}
GetPaginatedGroundTruthSetItemsFilterInput
GetPaginatedGroundTruthSetItemsInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetPaginatedGroundTruthSetItemsFilterInput!
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetPaginatedGroundTruthSetItemsFilterInput,
"sort": [SortInput]
}
GetPaginatedGroundTruthSetItemsResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [GroundTruth!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [GroundTruth]
}
GetPaginatedGroundTruthSetResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [GroundTruthSet!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [GroundTruthSet]
}
GetPaginatedLlmApplicationConfigurationFilter
GetPaginatedLlmApplicationConfigurationInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetPaginatedLlmApplicationConfigurationFilter!
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetPaginatedLlmApplicationConfigurationFilter,
"sort": [SortInput]
}
GetPaginatedLlmApplicationConfigurationResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [LlmApplicationConfiguration!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmApplicationConfiguration]
}
GetPaginatedQuestionSetFilter
GetPaginatedQuestionSetInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetPaginatedQuestionSetFilter
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetPaginatedQuestionSetFilter,
"sort": [SortInput]
}
GetPaginatedQuestionSetResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [QuestionSet!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [QuestionSet]
}
GetPaginatedTeamMemberPerformance
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
resourceId - String!
|
|
projectName - String!
|
|
labelingStatus - GqlLabelingStatus
|
|
documentStatus - [DocumentStatus!]
|
|
projectStatus - GqlProjectStatus
|
|
totalLabelApplied - Int
|
|
totalAnswerApplied - Int
|
|
totalConflictResolved - Int
|
|
numberOfAcceptedLabels - Int!
|
Use projectStatisticsPerLabelType array for separated metrics by label type |
numberOfRejectedLabels - Int!
|
Use projectStatisticsPerLabelType array for separated metrics by label type |
numberOfConflictedLabels - Int!
|
Use projectStatisticsPerLabelType array for separated metrics by label type |
numberOfMissingLabels - Int!
|
Please use numberOfMissedLabels |
numberOfMissedLabels - Int!
|
|
numberOfAcceptedAnswers - Int!
|
Use projectStatisticsPerLabelType array for separated metrics by label type |
numberOfRejectedAnswers - Int!
|
Use projectStatisticsPerLabelType array for separated metrics by label type |
numberOfConflictedAnswers - Int!
|
Use projectStatisticsPerLabelType array for separated metrics by label type |
numberOfAnsweredLines - Int
|
|
activeDurationInMillis - Int!
|
|
projectStatisticsPerLabelType - [ProjectStatisticPerLabelType!]!
|
Example
{
"projectId": 4,
"resourceId": "abc123",
"projectName": "abc123",
"labelingStatus": "NOT_STARTED",
"documentStatus": [DocumentStatus],
"projectStatus": "CREATED",
"totalLabelApplied": 987,
"totalAnswerApplied": 123,
"totalConflictResolved": 987,
"numberOfAcceptedLabels": 123,
"numberOfRejectedLabels": 123,
"numberOfConflictedLabels": 123,
"numberOfMissingLabels": 123,
"numberOfMissedLabels": 123,
"numberOfAcceptedAnswers": 123,
"numberOfRejectedAnswers": 987,
"numberOfConflictedAnswers": 123,
"numberOfAnsweredLines": 987,
"activeDurationInMillis": 987,
"projectStatisticsPerLabelType": [
ProjectStatisticPerLabelType
]
}
GetPaginatedTeamMemberPerformanceInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetTeamMemberPerformanceFilterInput!
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetTeamMemberPerformanceFilterInput,
"sort": [SortInput]
}
GetPaginatedTeamMemberPerformanceResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [GetPaginatedTeamMemberPerformance!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [GetPaginatedTeamMemberPerformance]
}
GetPersonalTagsInput
Fields
| Input Field | Description |
|---|---|
filter - GetTagsFilterInput
|
Example
{"filter": GetTagsFilterInput}
GetPredictedLabelsInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
Example
{"documentId": "4"}
GetProjectInput
GetProjectMetadataItemsFilterInput
Fields
| Input Field | Description |
|---|---|
teamId - ID
|
|
key - String
|
|
value - String
|
|
projectMetadataItems - [ProjectMetadataItemInput!]
|
Example
{
"teamId": 4,
"key": "xyz789",
"value": "abc123",
"projectMetadataItems": [ProjectMetadataItemInput]
}
GetProjectMetadataItemsInput
Fields
| Input Field | Description |
|---|---|
filter - GetProjectMetadataItemsFilterInput
|
|
cursor - String
|
|
page - OffsetPageInput
|
|
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"filter": GetProjectMetadataItemsFilterInput,
"cursor": "abc123",
"page": OffsetPageInput,
"sort": [SortInput]
}
GetProjectsFilterInput
Description
Parameters to filter the projects
Fields
| Input Field | Description |
|---|---|
teamId - ID
|
Optional. Filters projects by teams. Defaults to null, shows all projects under the personal workspace. |
keyword - String
|
Optional. Filters projects by keyword, searches project name and tags. By default shows all projects. |
labelerTeamMemberIds - [ID!]
|
Optional. Filters projects by its labeler. |
reviewerTeamMemberIds - [ID!]
|
Optional. Filters projects by its reviewer. |
ownerUserIds - [ID!]
|
Optional. Filters projects by its owner. |
statuses - [GqlProjectAndLabelingStatus!]
|
Deprecated. Use projectStatuses and labelingStatuses instead. Optional. Filters projects by its status. Use projectStatuses and labelingStatuses instead.
|
projectStatuses - [GqlProjectStatus!]
|
Optional. Filters projects by its project status. |
labelingStatuses - [GqlLabelingStatus!]
|
Optional. Filters projects by its labeling status. |
tags - [String!]
|
Optional. Filters projects by its tag IDs. To filter by tag names, use the keyword field. To see a list of tag IDs, see query getTags and getPersonalTags |
types - [TextDocumentType!]
|
Deprecated. To filter by types (POS, NER, etc), use the tags or keyword option instead. |
kinds - [ProjectKind!]
|
Optional. Filters projects by its kind. |
daysCreatedRange - DaysCreatedInput
|
Optional. Filters projects by its creation date. |
labelSetSignatures - [String!]
|
Optional. Filters projects by its LabelSet. See LabelSet.signature. |
isArchived - Boolean
|
Optional. Filters projects by archived state.
Use If |
projectStates - [ProjectState!]
|
Optional. Filters projects by their
|
projectAssignmentMode - ProjectAssignmentMode
|
Optional, defaults to ASSIGNED. Filters project visible to the logged in user.
Mainly used for self-assignment flow. See https://docs.datasaur.ai/workspace-management/project-management/self-assignment for more details about the feature. |
projectAssignmentStatuses - [ProjectAssignmentStatus!]
|
Optional, defaults to
|
Example
{
"teamId": "4",
"keyword": "xyz789",
"labelerTeamMemberIds": ["4"],
"reviewerTeamMemberIds": [4],
"ownerUserIds": ["4"],
"statuses": ["CREATED"],
"projectStatuses": ["CREATED"],
"labelingStatuses": ["NOT_STARTED"],
"tags": ["abc123"],
"types": ["POS"],
"kinds": ["DOCUMENT_BASED"],
"daysCreatedRange": DaysCreatedInput,
"labelSetSignatures": ["xyz789"],
"isArchived": true,
"projectStates": ["ACTIVE"],
"projectAssignmentMode": "ASSIGNED",
"projectAssignmentStatuses": ["COMPLETE"]
}
GetProjectsPaginatedInput
Description
Parameters for getProjects endpoint.
Fields
| Input Field | Description |
|---|---|
cursor - String
|
Cursor to the current page of result. |
page - OffsetPageInput
|
Offset Pagination controls. skip: The number of projects to be skipped. take: The maximum number of projects to be returned. |
filter - GetProjectsFilterInput
|
Filters the projects by the specified parameters. |
sort - [SortInput!]
|
Sorts the results by the specified field(s). See
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetProjectsFilterInput,
"sort": [SortInput]
}
GetRowAnswerConflictsInput
GetRowAnswersPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - RangePageInput
|
Example
{
"cursor": "xyz789",
"page": RangePageInput
}
GetRowAnswersPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [RowAnswer!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [RowAnswer]
}
GetSavedSearchFilterInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
name - String
|
|
type - SearchType
|
Example
{
"projectId": "4",
"name": "abc123",
"type": "STANDARD"
}
GetSavedSearchPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetSavedSearchFilterInput!
|
|
sort - [SortInput!]
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetSavedSearchFilterInput,
"sort": [SortInput]
}
GetSavedSearchResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
nodes - [SavedSearch!]!
|
|
pageInfo - PageInfo!
|
Example
{
"totalCount": 987,
"nodes": [SavedSearch],
"pageInfo": PageInfo
}
GetSpanAndArrowConflictsPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetSpanAndArrowConflictsPositionFilterInput
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"filter": GetSpanAndArrowConflictsPositionFilterInput
}
GetSpanAndArrowConflictsPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [ConflictTextLabelScalar!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [ConflictTextLabelScalar]
}
GetSpanAndArrowConflictsPositionFilterInput
GetSpanAndArrowRejectedLabelsPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput
}
GetSpanAndArrowRejectedLabelsPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [ConflictTextLabelScalar!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ConflictTextLabelScalar]
}
GetTagsFilterInput
Fields
| Input Field | Description |
|---|---|
includeGlobalTag - Boolean!
|
Example
{"includeGlobalTag": true}
GetTagsInput
Fields
| Input Field | Description |
|---|---|
teamId - ID
|
|
filter - GetTagsFilterInput
|
Example
{
"teamId": "4",
"filter": GetTagsFilterInput
}
GetTeamDetailInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Example
{"id": "4"}
GetTeamMemberLabelingStatusInput
GetTeamMemberPerformanceFilterInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
userId - ID!
|
|
role - ProjectAssignmentRole!
|
Example
{
"teamId": "4",
"userId": 4,
"role": "LABELER"
}
GetTeamMembersFilterInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
keyword - String
|
|
role - [TeamMemberRoleFilter!]
|
|
roleId - [ID!]
|
Use role instead. When both are provided, role will be prioritized. |
Example
{
"teamId": "4",
"keyword": "xyz789",
"role": ["ADMIN"],
"roleId": [4]
}
GetTeamMembersPaginatedInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
filter - GetTeamMembersFilterInput
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"page": OffsetPageInput,
"filter": GetTeamMembersFilterInput,
"sort": [SortInput]
}
GetTeamMembersPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [TeamMember!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [TeamMember]
}
GetTeamProjectAssigneesInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
Example
{"projectId": 4}
GetTeamTimelineEventsFilter
GetTeamTimelineEventsInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - CursorPageInput
|
|
filter - GetTeamTimelineEventsFilter
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"page": CursorPageInput,
"filter": GetTeamTimelineEventsFilter,
"sort": [SortInput]
}
GetTeamTimelineEventsResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [TimelineEvent!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [TimelineEvent]
}
GlobalWorkspacePermissionsSettings
GlobalWorkspacePermissionsSettingsInput
GqlAutoLabelModelPrivacy
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"PUBLIC"
GqlAutoLabelServiceProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This enum will be removed in the future, please use LLM_ASSISTED_LABELING instead |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CUSTOM"
GqlConflictable
Fields
| Field Name | Description |
|---|---|
id - String
|
|
documentId - String!
|
|
labeledBy - ConflictTextLabelResolutionStrategy!
|
|
type - LabelEntityType!
|
|
hashCode - String!
|
|
labeledByUserId - Int
|
|
acceptedByUserId - Int
|
|
rejectedByUserId - Int
|
Example
{
"id": "xyz789",
"documentId": "abc123",
"labeledBy": "AUTO",
"type": "ARROW",
"hashCode": "xyz789",
"labeledByUserId": 123,
"acceptedByUserId": 123,
"rejectedByUserId": 987
}
GqlConflictableInput
Fields
| Input Field | Description |
|---|---|
id - String
|
|
documentId - String!
|
|
labeledBy - ConflictTextLabelResolutionStrategy!
|
|
type - LabelEntityType!
|
|
hashCode - String!
|
|
labeledByUserId - Int
|
|
acceptedByUserId - Int
|
|
rejectedByUserId - Int
|
Example
{
"id": "xyz789",
"documentId": "abc123",
"labeledBy": "AUTO",
"type": "ARROW",
"hashCode": "xyz789",
"labeledByUserId": 123,
"acceptedByUserId": 987,
"rejectedByUserId": 123
}
GqlExportMethod
Values
| Enum Value | Description |
|---|---|
|
|
Return a download link. |
|
|
Sends the download link to the creator's email. |
|
|
Sends the download link to a custom webhook. |
|
|
Directly upload the export result to your bucket via External Object Storage |
|
|
Deprecated. Use FILE_STORAGE instead. No longer supported |
|
|
Deprecated. Use FILE_STORAGE instead. No longer supported |
|
|
Depcreated. Use EXTERNAL_OBJECT_STORAGE instead. No longer supported |
Example
"FILE_STORAGE"
GqlLabelingStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"NOT_STARTED"
GqlLlmApplicationDeploymentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"SUSPENDED"
GqlLlmApplicationPlaygroundPromptMessageRole
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"USER"
GqlLlmApplicationStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DEPLOYED"
GqlLlmBaseModelDatasetType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"COMPLETION"
GqlLlmBaseModelHyperparameterField
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"epochs"
GqlLlmBaseModelHyperparameterValueType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"INTEGER"
GqlLlmBaseModelMethodType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"FINE_TUNING"
GqlLlmBaseModelProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AMAZON"
GqlLlmEvaluationRagConfigSourceType
Values
| Enum Value | Description |
|---|---|
|
|
The RAG config is from the application deployment. |
|
|
The RAG config is from the saved application. |
|
|
The RAG config is neither from the application deployment nor from the saved application. |
Example
"APPLICATION_DEPLOYMENT"
GqlLlmEvaluationSchedulingStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"NOT_STARTED"
GqlLlmEvaluationStatus
Values
| Enum Value | Description |
|---|---|
|
|
This state indicates that the evaluation is still creating. |
|
|
This state indicates that the job has been newly inserted, but the processing has not started yet. |
|
|
This state means that the job is currently being evaluated. |
|
|
This state signifies that the evaluation has been completed. |
|
|
This state signifies that the job has failed. |
Example
"CREATING"
GqlLlmEvaluationType
Values
| Enum Value | Description |
|---|---|
|
|
The type refers to the NLP project LLM Evaluation. |
|
|
The type refers to the NLP project LLM Ranking. |
|
|
The type is automated (python backend) |
Example
"RATING"
GqlLlmGeneratedInstructionType
Values
| Enum Value | Description |
|---|---|
|
|
Example
"SYSTEM_INSTRUCTION"
GqlLlmManualEvaluationExportType
Values
| Enum Value | Description |
|---|---|
|
|
The evaluation file will be exported as CSV. |
|
|
The evaluation file will be exported as DPO JSONL. |
Example
"CSV"
GqlLlmModelFineTuningStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"IN_PROGRESS"
GqlLlmModelMetadataType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"QUESTION_ANSWERING"
GqlLlmModelProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AMAZON_BEDROCK"
GqlLlmModelStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"AVAILABLE"
GqlLlmModelType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"LLM_MODEL"
GqlLlmModelVariant
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"META"
GqlLlmUsageType
Values
| Enum Value | Description |
|---|---|
|
|
Deprecated, use VECTOR_STORE_DOCUMENT_SEARCH or VECTOR_STORE_DOCUMENT_EMBED instead |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"VECTOR_STORE"
GqlLlmVectorStoreActivityEvent
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CREATE_LLM_VECTOR_STORE"
GqlLlmVectorStoreAuthenticationScheme
Values
| Enum Value | Description |
|---|---|
|
|
Example
"BASIC"
GqlLlmVectorStoreDocumentAdditionalFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ALL_FILES"
GqlLlmVectorStoreDocumentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"QUEUED"
GqlLlmVectorStoreDocumentType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FOLDER"
GqlLlmVectorStoreProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DATASAUR"
GqlLlmVectorStoreStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CREATED"
GqlPaymentInvalidStatusReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"UNKNOWN"
GqlPaymentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"VALID"
GqlPricingModelUnitPurpose
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DEPLOY"
GqlPricingModelUnitType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"HOUR"
GqlPricingUsageType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CHAR"
GqlProjectAndLabelingStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CREATED"
GqlProjectStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CREATED"
GqlSpendingThresholdEvent
Values
| Enum Value | Description |
|---|---|
|
|
Example
"NOTIFY_AND_RESTRICT"
GqlSpendingThresholdType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"MONTHLY"
GrammarCheckerInput
Fields
| Input Field | Description |
|---|---|
grammarCheckerProviderId - ID!
|
|
documentId - ID!
|
|
sentenceIds - [Int!]
|
|
sentenceIdRange - RangeInput
|
Example
{
"grammarCheckerProviderId": 4,
"documentId": 4,
"sentenceIds": [987],
"sentenceIdRange": RangeInput
}
GrammarCheckerServiceProvider
GrammarMistake
Fields
| Field Name | Description |
|---|---|
text - String!
|
|
message - String!
|
|
position - TextRange!
|
|
suggestions - [String!]!
|
Example
{
"text": "xyz789",
"message": "abc123",
"position": TextRange,
"suggestions": ["xyz789"]
}
GroundTruth
GroundTruthSet
Example
{
"id": "4",
"name": "xyz789",
"teamId": "4",
"createdByUserId": "4",
"createdByUser": User,
"items": [GroundTruth],
"itemsCount": 987,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
Guideline
HeaderColumnInput
HeuristicArgumentScalar
Example
HeuristicArgumentScalar
IAA
IAAInformation
IAAInput
Fields
| Input Field | Description |
|---|---|
method - IAAMethodName!
|
|
teamId - ID!
|
|
labelSetSignatures - [String!]
|
|
projectIds - [ID!]
|
Example
{
"method": "COHENS_KAPPA",
"teamId": "4",
"labelSetSignatures": ["xyz789"],
"projectIds": ["4"]
}
IAAMethodName
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"COHENS_KAPPA"
ID
Description
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
4
ImportFileTransformerExecuteResult
Description
interface ImportFileTransformerExecuteResult { document: ImportedDocument! labelSets: [ImportedLabelSet!]! }
Example
ImportFileTransformerExecuteResult
ImportTextDocumentInput
InfoBar
InputFieldType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"TEXTAREA"
InputKeyType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"API_KEY"
InsertMultiRowAnswersResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
previousAnswers - [RowAnswer!]!
|
|
updatedAnswers - [RowAnswer!]!
|
Example
{
"document": TextDocument,
"previousAnswers": [RowAnswer],
"updatedAnswers": [RowAnswer]
}
InsertRowResult
InsertTargetInput
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
123
InvalidAnswerInfo
InvitationVerificationResult
InviteTeamMembersInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
members - [TeamMemberInput!]!
|
Example
{"teamId": 4, "members": [TeamMemberInput]}
IsLlmInternalApplicationAvailableInput
Fields
| Input Field | Description |
|---|---|
type - GqlLlmGeneratedInstructionType!
|
|
modelName - String!
|
Example
{
"type": "SYSTEM_INSTRUCTION",
"modelName": "xyz789"
}
JSON
Example
{}
Job
Fields
| Field Name | Description |
|---|---|
id - String!
|
|
status - JobStatus!
|
|
progress - Int!
|
|
errors - [JobError!]!
|
|
resultId - String
|
|
result - JobResult
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
additionalData - JobAdditionalData
|
Example
{
"id": "xyz789",
"status": "DELIVERED",
"progress": 987,
"errors": [JobError],
"resultId": "abc123",
"result": JobResult,
"createdAt": "abc123",
"updatedAt": "xyz789",
"additionalData": JobAdditionalData
}
JobAdditionalData
Fields
| Field Name | Description |
|---|---|
actionRunId - ID
|
|
childrenJobIds - [ID!]
|
|
documentIds - [ID!]
|
|
reversedLabels - [UpdateReversedLabelsResult!]
|
|
labelingAgentsJobId - ID
|
|
labelingAgentsResults - LabelingAgentResult
|
Example
{
"actionRunId": 4,
"childrenJobIds": [4],
"documentIds": [4],
"reversedLabels": [UpdateReversedLabelsResult],
"labelingAgentsJobId": 4,
"labelingAgentsResults": LabelingAgentResult
}
JobError
Fields
| Field Name | Description |
|---|---|
id - String!
|
|
stack - String!
|
|
args - JobErrorArgs
|
|
message - String
|
Example
{
"id": "xyz789",
"stack": "abc123",
"args": JobErrorArgs,
"message": "abc123"
}
JobErrorArgs
Example
JobErrorArgs
JobResult
Example
JobResult
JobStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DELIVERED"
KeyPayload
Example
KeyPayload
KeyPayloadType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"USER"
LLMAssistedLabelingProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"OPENAI"
LLMAssistedLabelingProviderInputField
Fields
| Field Name | Description |
|---|---|
key - InputKeyType!
|
|
name - String!
|
|
type - InputFieldType!
|
|
required - Boolean!
|
|
maxValue - Float
|
|
minValue - Float
|
Example
{
"key": "API_KEY",
"name": "abc123",
"type": "TEXTAREA",
"required": false,
"maxValue": 123.45,
"minValue": 123.45
}
LLMAssistedLabelingProviderModel
LLMAssistedLabelingProvidersInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
Example
{"documentId": 4}
LLMAssistedLabelingProvidersOutput
Fields
| Field Name | Description |
|---|---|
name - LLMAssistedLabelingProvider!
|
|
models - [LLMAssistedLabelingProviderModel!]!
|
|
inputFields - [LLMAssistedLabelingProviderInputField!]!
|
Example
{
"name": "OPENAI",
"models": [LLMAssistedLabelingProviderModel],
"inputFields": [LLMAssistedLabelingProviderInputField]
}
LLMLabsResponse
Fields
| Field Name | Description |
|---|---|
provider - GqlAutoLabelServiceProvider!
|
|
completionChoices - [ExtendedChatCompletionChoice!]!
|
Example
{
"provider": "CUSTOM",
"completionChoices": [ExtendedChatCompletionChoice]
}
LabelClassArrowRule
LabelClassArrowRuleInput
LabelClassType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"SPAN"
LabelEntityType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ARROW"
LabelErrorDetectionRowBased
Example
{
"id": "4",
"cabinetId": 4,
"inputColumnIds": [987],
"questionColumnId": 987,
"jobId": 4,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
LabelErrorDetectionRowBasedSuggestion
Example
{
"id": 4,
"documentId": 4,
"labelErrorDetectionId": "4",
"line": 123,
"errorPossibility": 987.65,
"suggestedLabel": "xyz789",
"previousLabel": "xyz789",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
LabelErrorDetectionRowBasedSuggestionInput
Example
{
"documentId": "4",
"labelErrorDetectionId": "4",
"line": 123,
"errorPossibility": 987.65,
"suggestedLabel": "abc123",
"previousLabel": "xyz789"
}
LabelObject
LabelObjectInput
LabelPhase
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"PRELABELED"
LabelPhaseInput
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"PRELABELED"
LabelSet
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier of the labelset. |
name - String!
|
|
index - Int!
|
The labelset's zero-based index in a project. Each project can have up to 5 labelset. |
signature - String
|
A labelset signature. The signature is generated based on the labelset's items. |
tagItems - [TagItem!]!
|
|
lastUsedBy - LastUsedProject
|
|
arrowLabelRequired - Boolean!
|
|
leafOnlyOption - Boolean!
|
Example
{
"id": 4,
"name": "xyz789",
"index": 987,
"signature": "xyz789",
"tagItems": [TagItem],
"lastUsedBy": LastUsedProject,
"arrowLabelRequired": true,
"leafOnlyOption": true
}
LabelSetConfigInput
Fields
| Input Field | Description |
|---|---|
defaultValue - String
|
Applies for DATE, TIME. Possible value NOW |
format - String
|
Applies for DATE, TIME. Possible values for DATE are DD-MM-YYYY, MM-DD-YYYY, YYYY-MM-DD DD/MM/YYYY, MM/DD/YYYY and YYYY/MM/DD. Possible values for TIME are HH:mm:ss, HH:mm, HH.mm.ss, and HH.mm |
multiple - Boolean
|
Applies for TEXT, NESTED, DROPDOWN, HIERARCHICAL_DROPDOWN. Set it as true if you want to have multiple answers for this question. |
multiline - Boolean
|
Applies for TEXT. Set it as true if you want to enter long text. |
options - [LabelSetConfigOptionsInput!]
|
Applies for
|
questions - [LabelSetTemplateItemInput!]
|
Applies for NESTED. |
minLength - Int
|
Applies for TEXT. |
maxLength - Int
|
Applies for TEXT. |
pattern - String
|
Applies for TEXT. This field can contain a regex string, which the browser natively uses for validation. E.g. [0-9]* |
theme - SliderTheme
|
Applies for SLIDER. |
min - Int
|
Applies for SLIDER. |
max - Int
|
Applies for SLIDER. |
step - Int
|
Applies for SLIDER. |
hint - String
|
Applies for every question type. The provided hint will be shown in the UI. Supports markdown syntax (bold, italic, link, bullets (- or *), and numbering (1., 2., 3., ...)). |
activationConditionLogic - String
|
Example
{
"defaultValue": "abc123",
"format": "xyz789",
"multiple": false,
"multiline": false,
"options": [LabelSetConfigOptionsInput],
"questions": [LabelSetTemplateItemInput],
"minLength": 987,
"maxLength": 987,
"pattern": "xyz789",
"theme": "PLAIN",
"min": 123,
"max": 987,
"step": 987,
"hint": "xyz789",
"activationConditionLogic": "xyz789"
}
LabelSetConfigOptions
Description
Represents a labelset item.
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier of the labelset item. |
label - String!
|
The labelset item name shown in web UI. |
parentId - ID
|
Optional. Use this field if you want to create hierarchical options. Use another option's id to make it as a parent option. |
color - String
|
The labelset item color when shown in web UI. 6 digit hex string, prefixed by #. Example: #df3920. |
type - LabelClassType!
|
Can be SPAN, ARROW, or ALL. Defaults to ALL. |
arrowRules - [LabelClassArrowRule!]
|
Only has effect if type is ARROW. |
Example
{
"id": "4",
"label": "abc123",
"parentId": 4,
"color": "xyz789",
"type": "SPAN",
"arrowRules": [LabelClassArrowRule]
}
LabelSetConfigOptionsInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Required. Unique identifier of the labelset item. |
label - String!
|
Required. The labelset item name shown in web UI. |
parentId - ID
|
Optional. Use this field if you want to create hierarchical options. Use another option's id to make it as a parent option. |
description - String
|
|
color - String
|
Optional. Sets the labelset item color when shown in web UI. Accepts a 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
{
"id": 4,
"label": "abc123",
"parentId": "4",
"description": "xyz789",
"color": "abc123",
"type": "SPAN",
"arrowRules": [LabelClassArrowRuleInput]
}
LabelSetTemplate
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
owner - User
|
|
type - LabelSetTemplateType!
|
|
items - [LabelSetTemplateItem!]
|
|
count - Int!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
leafOnlyOption - Boolean!
|
Example
{
"id": 4,
"name": "xyz789",
"owner": User,
"type": "QUESTION",
"items": [LabelSetTemplateItem],
"count": 987,
"createdAt": "xyz789",
"updatedAt": "abc123",
"leafOnlyOption": true
}
LabelSetTemplateItem
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
labelSetTemplateId - String!
|
|
index - String
|
|
parentIndex - String
|
|
name - String!
|
|
description - String!
|
|
options - [LabelSetConfigOptions!]
|
For type:
|
arrowLabelRequired - Boolean!
|
|
required - Boolean
|
|
multipleChoice - Boolean
|
|
type - LabelSetTemplateItemType!
|
|
minLength - Int
|
|
maxLength - Int
|
|
pattern - String
|
|
min - Int
|
|
max - Int
|
|
step - Int
|
|
multiline - Boolean
|
|
hint - String
|
|
theme - SliderTheme
|
|
bindToColumn - String
|
|
format - String
|
|
defaultValue - String
|
|
createdAt - String
|
|
updatedAt - String
|
|
activationConditionLogic - String
|
Example
{
"id": "4",
"labelSetTemplateId": "abc123",
"index": "abc123",
"parentIndex": "abc123",
"name": "xyz789",
"description": "xyz789",
"options": [LabelSetConfigOptions],
"arrowLabelRequired": true,
"required": true,
"multipleChoice": false,
"type": "DROPDOWN",
"minLength": 123,
"maxLength": 123,
"pattern": "xyz789",
"min": 123,
"max": 987,
"step": 987,
"multiline": true,
"hint": "abc123",
"theme": "PLAIN",
"bindToColumn": "xyz789",
"format": "xyz789",
"defaultValue": "xyz789",
"createdAt": "abc123",
"updatedAt": "abc123",
"activationConditionLogic": "abc123"
}
LabelSetTemplateItemInput
Fields
| Input Field | Description |
|---|---|
bindToColumn - String
|
Optional. Binds to the specified column |
type - LabelSetTemplateItemType
|
Optional. Type of the question |
name - String
|
Optional. Column name. |
label - String
|
Message shown to Labeler. |
required - Boolean
|
This marks whether the question is required to answer or not. |
config - LabelSetConfigInput
|
Required. Configures the labelset items. |
Example
{
"bindToColumn": "xyz789",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": false,
"config": LabelSetConfigInput
}
LabelSetTemplateItemType
Values
| Enum Value | Description |
|---|---|
|
|
This type provides a dropdown with multiple options. |
|
|
This type provides a dropdown with hierarchical options. |
|
|
You can create nested questions. Questions inside a question by using this type. |
|
|
This type provides a text area. |
|
|
This type provides a slider with customizeable minimum value and maximum value. |
|
|
This type provides a date picker. |
|
|
This type provides a time picker. |
|
|
This type provides a checkbox. |
|
|
This type provides a URL field. |
|
|
This type provides a token field. |
Example
"DROPDOWN"
LabelSetTemplateType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"QUESTION"
LabelSetTextProjectInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
|
options - [LabelSetTextProjectOptionInput!]!
|
|
arrowLabelRequired - Boolean
|
|
leafOnlyOption - Boolean
|
Example
{
"name": "xyz789",
"options": [LabelSetTextProjectOptionInput],
"arrowLabelRequired": true,
"leafOnlyOption": false
}
LabelSetTextProjectOptionInput
Fields
| Input Field | Description |
|---|---|
id - String!
|
|
parentId - String
|
The parent of another label set, indicating hierarchical structure. |
label - String!
|
The name of the label. |
color - String
|
In hex code. |
type - LabelClassType
|
|
arrowRules - [LabelClassArrowRuleInput!]
|
Example
{
"id": "xyz789",
"parentId": "abc123",
"label": "xyz789",
"color": "abc123",
"type": "SPAN",
"arrowRules": [LabelClassArrowRuleInput]
}
LabelStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"LABELED"
LabelerGroupId
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ALL"
LabelerProjectCompletionNotification
LabelerProjectCompletionNotificationInput
LabelerStatistic
Description
It contains statistical information specific to a labeler's cabinet, isolated from other labeler's work.
Fields
| Field Name | Description |
|---|---|
userId - ID!
|
The user ID of the labeler, not the team member ID. |
areDocumentQuestionsAnswered - Boolean!
|
An indicator to specify whether the labeler has answered the document questions (not including the questions for Row Labeling). |
numberOfAcceptedLabels - Int!
|
The total number of accepted annotations, i.e. Token labels, Bounding Box labels, and answers for both Row and Document questions. |
numberOfAppliedLabelTokens - Int!
|
The total number of accepted labels on Token Labeling. |
numberOfRejectedLabels - Int!
|
The total number of rejected annotations, i.e. Token labels, Bounding Box labels, and answers for both Row and Document questions. |
Example
{
"userId": 4,
"areDocumentQuestionsAnswered": true,
"numberOfAcceptedLabels": 987,
"numberOfAppliedLabelTokens": 123,
"numberOfRejectedLabels": 123
}
LabelingAgent
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
agentId - String!
|
|
agentType - AgentType!
|
|
name - String!
|
Example
{
"id": 4,
"agentId": "abc123",
"agentType": "LLM_LABS",
"name": "abc123"
}
LabelingAgentJobStatusPayload
Fields
| Field Name | Description |
|---|---|
parentJobId - String!
|
|
jobId - String!
|
|
projectId - String!
|
|
projectName - String!
|
|
projectResourceId - String!
|
|
labelingAgentId - String
|
|
labelingAgent - LabelingAgent
|
|
jobType - LabelingAgentJobType!
|
|
jobStatus - JobStatus!
|
|
progress - Int!
|
|
errors - [JobError]
|
Example
{
"parentJobId": "abc123",
"jobId": "abc123",
"projectId": "abc123",
"projectName": "xyz789",
"projectResourceId": "xyz789",
"labelingAgentId": "xyz789",
"labelingAgent": LabelingAgent,
"jobType": "CABINET_CREATION",
"jobStatus": "DELIVERED",
"progress": 987,
"errors": [JobError]
}
LabelingAgentJobType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CABINET_CREATION"
LabelingAgentResult
Example
LabelingAgentResult
LabelingFunction
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
dataProgrammingId - ID!
|
|
heuristicArgument - HeuristicArgumentScalar
|
|
annotatorArgument - AnnotatorArgumentScalar
|
|
name - String!
|
|
content - String
|
|
active - Boolean!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
cached - Boolean
|
Example
{
"id": 4,
"dataProgrammingId": 4,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar,
"name": "xyz789",
"content": "abc123",
"active": false,
"createdAt": "abc123",
"updatedAt": "xyz789",
"cached": false
}
LabelingFunctionPairKappa
LabelingStatus
Fields
| Field Name | Description |
|---|---|
labeler - TeamMember!
|
|
isCompleted - Boolean!
|
|
isStarted - Boolean!
|
|
statistic - LabelingStatusStatistic!
|
|
statisticsToShow - [StatisticItem!]!
|
Example
{
"labeler": TeamMember,
"isCompleted": false,
"isStarted": true,
"statistic": LabelingStatusStatistic,
"statisticsToShow": [StatisticItem]
}
LabelingStatusStatistic
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
numberOfDocuments - Int!
|
|
numberOfTouchedDocuments - Int!
|
|
numberOfCompletedDocuments - Int!
|
|
numberOfSentences - Int!
|
|
numberOfTouchedSentences - Int!
|
|
documentIds - [ID!]!
|
|
completedDocumentIds - [ID!]!
|
|
touchedDocumentIds - [ID!]!
|
|
totalLabelsApplied - Int!
|
|
numberOfAcceptedLabels - Int!
|
|
numberOfRejectedLabels - Int!
|
|
numberOfUnresolvedLabels - Int!
|
|
totalTimeSpent - Int!
|
Example
{
"id": 4,
"numberOfDocuments": 123,
"numberOfTouchedDocuments": 123,
"numberOfCompletedDocuments": 123,
"numberOfSentences": 987,
"numberOfTouchedSentences": 987,
"documentIds": [4],
"completedDocumentIds": ["4"],
"touchedDocumentIds": ["4"],
"totalLabelsApplied": 987,
"numberOfAcceptedLabels": 123,
"numberOfRejectedLabels": 987,
"numberOfUnresolvedLabels": 123,
"totalTimeSpent": 987
}
LastUsedProject
LaunchProjectInput
Description
Configuration for mutation createProject
Fields
| Input Field | Description |
|---|---|
name - String!
|
Required. Set the project name. |
documents - [CreateDocumentInput!]!
|
Required. Documents associated to the project. |
kinds - [ProjectKind!]!
|
Required. Sets the project kinds. |
creationSettings - CreationSettingsInput!
|
Required. This configuration affect the project creation flow. |
teamId - ID
|
Optional. Default to null, which creates a personal project. |
purpose - ProjectPurpose
|
Optional. Default to LABELING. |
externalObjectStorageId - ID
|
Optional. Set the external object storage to use. Affect how Datasaur resolves DocumentDetailInput.objectKey. When not provided, Datasaur will use it's internal storage bucket. See generateFileUrls. |
documentAssignments - [DocumentAssignmentInput!]
|
Optional. Team projects only. Assign specific document to a specific team member. |
kindsDocumentSettings - DocumentSettingsInput
|
Optional. Per-kind document-related configuration, such as allow arrow drawing. |
projectSettings - ProjectSettingsInput
|
Optional. Set the new project settings. |
tagNames - [String!]
|
Optional. The tag names associated with the project. If the tag doesn't exist, it will be created; otherwise, it will be used. See Tag. |
projectMetadataItems - [ProjectMetadataItemInput!]
|
Optional. The project metadata associated with the project. If the project metadata doesn't exist, it will be created; otherwise, it will be used. See ProjectMetadataItem. |
tokenLabelSets - [LabelSetTextProjectInput!]
|
Optional. Label sets for span labeling. |
bboxLabelSets - [CreateBBoxLabelSetInput!]
|
Optional. Label sets for bounding box labeling. |
rowQuestions - [QuestionInput!]
|
Optional. Questions for row labeling. |
documentQuestions - [QuestionInput!]
|
Optional. Questions for document labeling. |
labelerExtensions - [ExtensionID!]
|
Optional. Set the default Datasaur extensions that will be activated for labelers when opening the project. |
reviewerExtensions - [ExtensionID!]
|
Optional. Set the default Datasaur extensions that will be activated for reviewers when opening the project in Reviewer mode. |
Example
{
"name": "abc123",
"documents": [CreateDocumentInput],
"kinds": ["DOCUMENT_BASED"],
"creationSettings": CreationSettingsInput,
"teamId": 4,
"purpose": "LABELING",
"externalObjectStorageId": "4",
"documentAssignments": [DocumentAssignmentInput],
"kindsDocumentSettings": DocumentSettingsInput,
"projectSettings": ProjectSettingsInput,
"tagNames": ["xyz789"],
"projectMetadataItems": [ProjectMetadataItemInput],
"tokenLabelSets": [LabelSetTextProjectInput],
"bboxLabelSets": [CreateBBoxLabelSetInput],
"rowQuestions": [QuestionInput],
"documentQuestions": [QuestionInput],
"labelerExtensions": ["AUTO_LABEL_TOKEN_EXTENSION_ID"],
"reviewerExtensions": ["AUTO_LABEL_TOKEN_EXTENSION_ID"]
}
LaunchTextProjectInput
Description
Configuration parameter for project creation.
Fields
| Input Field | Description |
|---|---|
name - String!
|
Required. Set the project name. |
kinds - [ProjectKind!]
|
Required. Set the project kind that will affect how each document is being viewed and labeled. |
documents - [CreateTextDocumentInput!]
|
Required. The documents associated to the project. Please ensure all the documents uploaded are of the same type. |
documentSettings - TextDocumentSettingsInput!
|
Required. Document related configuration, such as token length and custom script. |
teamId - ID
|
Optional. Default to null, which creates a personal project. |
documentAssignments - [DocumentAssignmentInput!]
|
Optional. Team projects only. Assign specific document to a specific team member. |
tagNames - [String!]
|
Optional. The tag names associated with the project. If the tag doesn't exist, it will be created; otherwise, it will be used. See Tag. |
type - TextDocumentType
|
Optional. Specific for Token Labeling with Audio or OCR. |
labelSets - [LabelSetTextProjectInput!]
|
Optional. Specific for Token Labeling. Select this if you want to create and use a new label set for the project. |
labelSetIDs - [ID!]
|
Optional. Specific for Token Labeling. Select this if you want to reuse the existing label set. |
guidelineId - ID
|
Optional. Set the labeling guideline for the project which later can be viewed from the project extension. |
projectCreationId - String
|
Optional. Used as unique identifier for the project creation. |
projectSettings - ProjectSettingsInput
|
Optional. Set the new project settings. |
purpose - ProjectPurpose
|
Optional. Default to LABELING. |
labelerExtensions - [ExtensionID!]
|
Optional. Set the default Datasaur extensions that will be activated for labelers when opening the project. |
reviewerExtensions - [ExtensionID!]
|
Optional. Set the default Datasaur extensions that will be activated for reviewers when opening the project in Reviewer mode. |
splitDocumentOption - SplitDocumentOptionInput
|
Optional. Specific for Token and Row Labeling. Set the document splitting behavior. |
externalObjectStorageId - ID
|
Optional. Set the external object storage to use. |
bboxLabelSets - [BBoxLabelSetProjectInput!]
|
Optional. Label sets for bounding box labeling. |
assignees - [ProjectAssignmentByNameInput!]
|
Deprecated. Please use field documentAssignments instead. Assignment could be specific for each document
|
labelSetId - ID
|
Deprecated. Please use field labelSets instead. Due to multiple label sets
|
Example
{
"name": "abc123",
"kinds": ["DOCUMENT_BASED"],
"documents": [CreateTextDocumentInput],
"documentSettings": TextDocumentSettingsInput,
"teamId": 4,
"documentAssignments": [DocumentAssignmentInput],
"tagNames": ["abc123"],
"type": "POS",
"labelSets": [LabelSetTextProjectInput],
"labelSetIDs": ["4"],
"guidelineId": "4",
"projectCreationId": "abc123",
"projectSettings": ProjectSettingsInput,
"purpose": "LABELING",
"labelerExtensions": ["AUTO_LABEL_TOKEN_EXTENSION_ID"],
"reviewerExtensions": ["AUTO_LABEL_TOKEN_EXTENSION_ID"],
"splitDocumentOption": SplitDocumentOptionInput,
"externalObjectStorageId": "4",
"bboxLabelSets": [BBoxLabelSetProjectInput],
"assignees": [ProjectAssignmentByNameInput],
"labelSetId": 4
}
Legend
Fields
| Field Name | Description |
|---|---|
position - LegendPosition!
|
|
alignment - LegendAlignment!
|
Example
{"position": "BOTTOM", "alignment": "START"}
LegendAlignment
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"START"
LegendPosition
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BOTTOM"
ListChunksInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
Example
{"documentId": "4"}
LlmApplication
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID!
|
|
createdByUser - User
|
|
name - String!
|
|
status - GqlLlmApplicationStatus!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
llmApplicationDeployment - LlmApplicationDeployment
|
|
totalRagConfigs - Int!
|
Example
{
"id": 4,
"teamId": "4",
"createdByUser": User,
"name": "abc123",
"status": "DEPLOYED",
"createdAt": "abc123",
"updatedAt": "abc123",
"llmApplicationDeployment": LlmApplicationDeployment,
"totalRagConfigs": 123
}
LlmApplicationConfiguration
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM application configuration id. |
name - String!
|
The name of the LLM application configuration. |
teamId - ID!
|
The team id that the LLM application configuration belongs to. |
createdByUserId - ID
|
The user id that creates the LLM application configuration. |
updatedByUserId - ID
|
The user id that updates the LLM application configuration. |
updatedByUser - User
|
The user that updates the LLM application configuration. |
llmRagConfigId - ID!
|
|
llmRagConfig - LlmRagConfig!
|
|
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM application configuration is deleted or not. |
Example
{
"id": 4,
"name": "xyz789",
"teamId": 4,
"createdByUserId": "4",
"updatedByUserId": "4",
"updatedByUser": User,
"llmRagConfigId": 4,
"llmRagConfig": LlmRagConfig,
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false
}
LlmApplicationDeployment
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
deployedByUser - User
|
|
llmApplicationId - ID!
|
|
llmApplication - LlmApplication!
|
|
llmRagConfig - LlmRagConfig!
|
|
numberOfCalls - Int!
|
|
numberOfTokens - Int!
|
|
numberOfInputTokens - Int!
|
|
numberOfOutputTokens - Int!
|
|
deployedAt - String!
|
|
name - String!
|
|
status - GqlLlmApplicationDeploymentStatus!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
apiEndpoints - [LlmApplicationDeploymentApiEndpoint!]!
|
|
isDeleted - Boolean!
|
Example
{
"id": 4,
"deployedByUser": User,
"llmApplicationId": 4,
"llmApplication": LlmApplication,
"llmRagConfig": LlmRagConfig,
"numberOfCalls": 987,
"numberOfTokens": 123,
"numberOfInputTokens": 987,
"numberOfOutputTokens": 123,
"deployedAt": "abc123",
"name": "abc123",
"status": "SUSPENDED",
"createdAt": "abc123",
"updatedAt": "abc123",
"apiEndpoints": [LlmApplicationDeploymentApiEndpoint],
"isDeleted": false
}
LlmApplicationDeploymentApiEndpoint
LlmApplicationDeploymentInput
Example
{
"llmApplicationId": 4,
"name": "xyz789",
"llmApplicationDeploymentId": "4",
"baseLlmRagConfigId": 4
}
LlmApplicationDeploymentPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [LlmApplicationDeployment!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmApplicationDeployment]
}
LlmApplicationDeploymentUpdateInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
status - GqlLlmApplicationDeploymentStatus
|
|
name - String
|
Example
{
"id": "4",
"status": "SUSPENDED",
"name": "abc123"
}
LlmApplicationPaginatedResponse
Description
Paginated list of results.
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
Total number of results that matches the applied filter |
pageInfo - PageInfo!
|
|
nodes - [LlmApplication!]!
|
List of results. See type LlmApplication. |
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LlmApplication]
}
LlmApplicationPlaygroundPrompt
Example
{
"id": "4",
"llmApplicationId": 4,
"name": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789",
"lastPromptMessage": LlmApplicationPlaygroundPromptMessage,
"totalPromptMessages": 987
}
LlmApplicationPlaygroundPromptAttachment
Example
{
"id": "4",
"llmFileId": 4,
"llmFile": LlmFile,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"llmApplicationPlaygroundPromptMessageId": "4"
}
LlmApplicationPlaygroundPromptAttachmentInput
Fields
| Input Field | Description |
|---|---|
llmApplicationPlaygroundPromptAttachmentId - ID
|
|
attachment - LlmApplicationPlaygroundPromptNewAttachmentInput
|
Example
{
"llmApplicationPlaygroundPromptAttachmentId": "4",
"attachment": LlmApplicationPlaygroundPromptNewAttachmentInput
}
LlmApplicationPlaygroundPromptCreateFromDatasetInput
LlmApplicationPlaygroundPromptCreateInput
LlmApplicationPlaygroundPromptMessage
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
llmApplicationPlaygroundPromptId - ID!
|
|
content - String!
|
|
role - GqlLlmApplicationPlaygroundPromptMessageRole!
|
|
attachments - [LlmApplicationPlaygroundPromptAttachment!]!
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"llmApplicationPlaygroundPromptId": 4,
"content": "abc123",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachment
],
"createdAt": "abc123",
"updatedAt": "abc123"
}
LlmApplicationPlaygroundPromptMessageItemInput
Fields
| Input Field | Description |
|---|---|
llmApplicationPlaygroundPromptMessageId - ID
|
|
content - String
|
|
role - GqlLlmApplicationPlaygroundPromptMessageRole!
|
|
attachments - [LlmApplicationPlaygroundPromptAttachmentInput!]!
|
Example
{
"llmApplicationPlaygroundPromptMessageId": "4",
"content": "xyz789",
"role": "USER",
"attachments": [
LlmApplicationPlaygroundPromptAttachmentInput
]
}
LlmApplicationPlaygroundPromptNewAttachmentInput
Fields
| Input Field | Description |
|---|---|
newFile - LlmApplicationPlaygroundPromptNewFileInput
|
|
llmFileId - ID
|
Example
{
"newFile": LlmApplicationPlaygroundPromptNewFileInput,
"llmFileId": "4"
}
LlmApplicationPlaygroundPromptNewFileInput
Fields
| Input Field | Description |
|---|---|
type - LlmFileType!
|
|
name - String!
|
|
originalFileUrl - String!
|
Example
{
"type": "IMAGE",
"name": "xyz789",
"originalFileUrl": "abc123"
}
LlmApplicationPlaygroundPromptUpdateInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
name - String
|
|
prompt - String
|
|
role - GqlLlmApplicationPlaygroundPromptMessageRole
|
Example
{
"id": "4",
"name": "xyz789",
"prompt": "abc123",
"role": "USER"
}
LlmApplicationPlaygroundRagConfig
LlmApplicationPlaygroundRagConfigCreateInput
Example
{
"name": "abc123",
"llmApplicationId": "4",
"isCreateDefaultPromptEnable": true,
"defaultSystemInstruction": "xyz789",
"defaultUserInstruction": "xyz789",
"defaultModelId": "4",
"defaultModelUrl": "abc123",
"defaultPrompts": ["xyz789"]
}
LlmApplicationPlaygroundRagConfigModelDetails
Fields
| Field Name | Description |
|---|---|
llmModelDetails - [LlmModelDetail!]!
|
|
llmEmbeddingModelDetails - [LlmModelDetail!]!
|
Example
{
"llmModelDetails": [LlmModelDetail],
"llmEmbeddingModelDetails": [LlmModelDetail]
}
LlmApplicationPlaygroundRagConfigUpdateInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
name - String
|
|
llmRagConfigInput - LlmRagConfigUpdateInput!
|
Example
{
"id": 4,
"name": "abc123",
"llmRagConfigInput": LlmRagConfigUpdateInput
}
LlmApplicationRagRunnerJob
LlmApplicationUpdateInput
LlmBaseModel
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the base model. |
baseModelIdentifier - String!
|
The base model identifier. |
customModelIdentifier - String!
|
The custom model identifier. This is the identifier to submit to the job provider. |
teamId - ID
|
The team id that the base model belongs to. |
name - String!
|
Name of the base model. |
serviceProvider - GqlLlmModelProvider!
|
Fine tuning service provider. |
provider - GqlLlmBaseModelProvider!
|
The provider of the base model. |
region - String!
|
The region of the base model. |
methodTypes - [GqlLlmBaseModelMethodType!]!
|
The method types of the base model. |
supportedDatasetTypes - [GqlLlmBaseModelDatasetType!]!
|
The supported dataset types of the base model. |
supportedHyperparameters - [LlmBaseModelHyperparameter!]!
|
The supported hyperparameters of the base model. |
pricingModels - [LlmBaseModelPricingModel!]!
|
The pricing models of the base model. |
deployable - Boolean!
|
Whether the base model is deployable. |
requireSubscriptionPlan - Boolean!
|
Whether the base model requires subscription plan. |
supportsValidationDataset - Boolean!
|
Whether the base model supports validation dataset. |
instanceTypes - [String!]
|
The machine type of the fine tuning job for AWS Sagemaker fine tuning. |
defaultTrainingInstanceType - String
|
The default machine type of the fine tuning job for AWS Sagemaker fine tuning. |
trainingVolumeSize - Float
|
The training volume size of the fine tuning job for AWS Sagemaker fine tuning. |
Example
{
"id": "4",
"baseModelIdentifier": "abc123",
"customModelIdentifier": "xyz789",
"teamId": 4,
"name": "xyz789",
"serviceProvider": "AMAZON_BEDROCK",
"provider": "AMAZON",
"region": "abc123",
"methodTypes": ["FINE_TUNING"],
"supportedDatasetTypes": ["COMPLETION"],
"supportedHyperparameters": [
LlmBaseModelHyperparameter
],
"pricingModels": [LlmBaseModelPricingModel],
"deployable": false,
"requireSubscriptionPlan": false,
"supportsValidationDataset": false,
"instanceTypes": ["abc123"],
"defaultTrainingInstanceType": "abc123",
"trainingVolumeSize": 123.45
}
LlmBaseModelHyperparameter
Fields
| Field Name | Description |
|---|---|
name - GqlLlmBaseModelHyperparameterField!
|
The name of the hyperparameter. |
actualName - String!
|
The actual name of the hyperparameter acknowledged by the service provider. |
type - GqlLlmBaseModelHyperparameterValueType!
|
The type of the hyperparameter. |
minValue - Float
|
The minimum value of the hyperparameter. |
maxValue - Float
|
The maximum value of the hyperparameter. |
defaultValue - FloatOrString
|
The default value of the hyperparameter. |
Example
{
"name": "epochs",
"actualName": "xyz789",
"type": "INTEGER",
"minValue": 987.65,
"maxValue": 123.45,
"defaultValue": FloatOrString
}
LlmBaseModelPricingModel
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Unique identifier for the pricing model. |
llmBaseModelId - ID!
|
The availability id of the pricing model. |
unitPrice - Float!
|
The unit price of the pricing model. |
unitType - GqlPricingModelUnitType!
|
The unit type of the pricing model. |
unitPurpose - GqlPricingModelUnitPurpose!
|
The purpose of the pricing model. |
Example
{
"id": 4,
"llmBaseModelId": "4",
"unitPrice": 987.65,
"unitType": "HOUR",
"unitPurpose": "DEPLOY"
}
LlmEmbeddingModel
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID
|
|
provider - GqlLlmModelProvider!
|
|
name - String!
|
|
displayName - String!
|
|
url - String!
|
|
maxTokens - Int!
|
|
dimensions - Int!
|
|
deployableModelId - String
|
|
isModelDeployable - Boolean!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
variant - GqlLlmModelVariant
|
|
customDimension - Boolean!
|
Example
{
"id": 4,
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"displayName": "xyz789",
"url": "xyz789",
"maxTokens": 987,
"dimensions": 123,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"createdAt": "xyz789",
"updatedAt": "xyz789",
"variant": "META",
"customDimension": false
}
LlmEvaluation
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM evaluation id. |
name - String!
|
The LLM evaluation name. This will be used as the project's name and the project document's name. |
teamId - ID!
|
The team id that the LLM evaluation belongs to. |
projectId - ID
|
The project id for the LLM evaluation. |
kind - ProjectKind
|
The project kind. Taken from the project. |
status - GqlLlmEvaluationStatus
|
The project's labeling status. Taken from the project. |
creationProgress - LlmEvaluationCreationProgress
|
The LLM evaluation creation progress. |
scheduledCommandConfig - ScheduledCommandConfig
|
The LLM evaluation scheduled command config. |
isScheduled - Boolean!
|
The LLM evaluation is scheduled or not. |
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM evaluation is deleted or not. |
type - GqlLlmEvaluationType!
|
The LLM evaluation type |
schedulingStatus - GqlLlmEvaluationSchedulingStatus
|
The LLM evaluation scheduling status. |
nextSchedule - String
|
The LLM evaluation next schedule. |
createdByUser - User
|
The user who created the LLM evaluation. |
lastScoredByUser - User
|
The user who last scored the LLM evaluation. Only applicable for manual evaluation. |
totalPrompts - Int!
|
The total number of prompts. |
lastLlmEvaluationExecution - LlmEvaluationExecution
|
The last LLM evaluation execution. |
Example
{
"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": "abc123",
"createdByUser": User,
"lastScoredByUser": User,
"totalPrompts": 987,
"lastLlmEvaluationExecution": LlmEvaluationExecution
}
LlmEvaluationAnswerScore
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The ID of the answer score. |
llmEvaluationEvaluatorId - ID
|
The ID of the related LLM evaluation evaluator. If the evaluation type is RANKING or RATING, this will be null. |
llmEvaluationGeneratedAnswerId - ID!
|
The ID of the related LLM evaluation generated answer. |
score - Float!
|
The score of the answer. |
reason - String
|
The reason of the score. |
alertExpression - String
|
The alert expression of the score. |
createdAt - String!
|
The creation timestamp in ISO 8601 format. |
updatedAt - String!
|
The last update timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The answer score is deleted or not. |
Example
{
"id": 4,
"llmEvaluationEvaluatorId": 4,
"llmEvaluationGeneratedAnswerId": 4,
"score": 123.45,
"reason": "xyz789",
"alertExpression": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123",
"isDeleted": false
}
LlmEvaluationAnswerScoreInput
LlmEvaluationAutomatedApplicationInput
Example
{
"llmRagConfigIds": [4],
"groundTruthId": 4,
"groundTruthFileObjectKey": "xyz789"
}
LlmEvaluationAutomatedEvaluatorInput
Fields
| Input Field | Description |
|---|---|
metric - String!
|
TODO: rename to evaluator | Evaluator to use for evaluation. |
provider - String!
|
TODO: Remove this. |
llmModelId - String
|
LLM Model id to use for evaluation. |
llmEmbeddingModelId - String
|
LLM Embedding Model id to use for evaluation. |
alertExpression - String
|
Contains expression similar to question.activationConditionLogic |
customEvaluator - LlmEvaluationCustomEvaluatorInput
|
Custom evaluator input. |
Example
{
"metric": "abc123",
"provider": "abc123",
"llmModelId": "xyz789",
"llmEmbeddingModelId": "xyz789",
"alertExpression": "abc123",
"customEvaluator": LlmEvaluationCustomEvaluatorInput
}
LlmEvaluationAutomatedEvaluatorUpdateInput
LlmEvaluationAutomatedInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
The LLM evaluation name. This will be used as the project's name and the project document's name. |
teamId - ID!
|
The team id that the LLM evaluation belongs to. |
applicationInput - LlmEvaluationAutomatedApplicationInput
|
Application input uses llm application as evaluation source |
pregeneratedInput - LlmEvaluationAutomatedPregeneratedInput
|
Pre-generated input uses pre-generated completions as evaluation source |
evaluators - [LlmEvaluationAutomatedEvaluatorInput!]!
|
Evaluator model(s) to use for evaluation. |
schedule - LlmEvaluationAutomatedScheduleInput
|
For scheduled automated evaluation only. |
Example
{
"name": "xyz789",
"teamId": "4",
"applicationInput": LlmEvaluationAutomatedApplicationInput,
"pregeneratedInput": LlmEvaluationAutomatedPregeneratedInput,
"evaluators": [LlmEvaluationAutomatedEvaluatorInput],
"schedule": LlmEvaluationAutomatedScheduleInput
}
LlmEvaluationAutomatedPregeneratedInput
Fields
| Input Field | Description |
|---|---|
completionsFileObjectKey - String!
|
TODO: rename to groundTruthWithCompletionFileObjectKey | File containing ground truth with pre-generated completions to evaluate against. |
Example
{"completionsFileObjectKey": "xyz789"}
LlmEvaluationAutomatedScheduleInput
Fields
| Input Field | Description |
|---|---|
cronPattern - String!
|
The cron pattern |
runImmediately - Boolean!
|
Evaluate immediately after creating the project |
numberOfRepetition - Int
|
The number of times to repeat the evaluation. Default to infinite. |
endTime - String
|
The end time of the evaluation. |
repeatInterval - Int
|
The repeat interval of the evaluation. |
Example
{
"cronPattern": "xyz789",
"runImmediately": true,
"numberOfRepetition": 987,
"endTime": "abc123",
"repeatInterval": 123
}
LlmEvaluationAutomatedStrategy
Fields
| Field Name | Description |
|---|---|
name - String!
|
TODO: rename this to evaluator | The strategy evaluator. |
displayName - String!
|
TODO: Rename this to metric | The strategy display name. |
provider - String!
|
The strategy provider. |
version - String!
|
The strategy version. |
description - String!
|
The strategy description. |
deprecated - Boolean!
|
The strategy metric deprecation status. |
evaluatorModelTypes - [GqlLlmModelType!]!
|
The evaluator model types supported by the strategy. |
minValue - Float!
|
|
maxValue - Float!
|
|
invertedValue - Boolean!
|
|
requiresContext - Boolean!
|
Example
{
"name": "abc123",
"displayName": "xyz789",
"provider": "abc123",
"version": "xyz789",
"description": "abc123",
"deprecated": true,
"evaluatorModelTypes": ["LLM_MODEL"],
"minValue": 123.45,
"maxValue": 123.45,
"invertedValue": true,
"requiresContext": false
}
LlmEvaluationCreationProgress
Fields
| Field Name | Description |
|---|---|
status - LlmEvaluationCreationStatus!
|
The LLM evaluation creation status. |
jobId - String
|
The job id if the current progress is using a job. Will be null if the current progress is not using a job. |
error - String
|
The error message if the current progress is failed. Will be null if the current progress is not failed. |
Example
{
"status": "PREPARING",
"jobId": "abc123",
"error": "xyz789"
}
LlmEvaluationCreationStatus
Values
| Enum Value | Description |
|---|---|
|
|
The LLM evaluation is being created. |
|
|
The input is being prepared for the LLM automated evaluation. |
|
|
The uploaded prompt set is being read. |
|
|
The answer is being generated, if the completions are not provided. |
|
|
The NLP project is being created. |
|
|
The LLM evaluation is being run on python backend. |
|
|
The LLM evaluation creation is done. |
|
|
The LLM evaluation creation is failed. |
Example
"PREPARING"
LlmEvaluationCustomEvaluatorInput
Example
{
"minimumScore": 123,
"maximumScore": 123,
"prompt": "abc123",
"name": "xyz789"
}
LlmEvaluationDetail
Fields
| Field Name | Description |
|---|---|
prompt - String!
|
|
expectedCompletion - String
|
|
externalRagConfig - String
|
|
completions - [LlmEvaluationGeneratedAnswer!]
|
|
scores - [LlmEvaluationAnswerScore!]
|
Example
{
"prompt": "xyz789",
"expectedCompletion": "xyz789",
"externalRagConfig": "abc123",
"completions": [LlmEvaluationGeneratedAnswer],
"scores": [LlmEvaluationAnswerScore]
}
LlmEvaluationDetailFilterInput
LlmEvaluationDetailPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [LlmEvaluationDetail!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmEvaluationDetail]
}
LlmEvaluationEvaluator
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
llmEvaluationId - ID!
|
|
evaluator - String!
|
|
metric - String!
|
|
provider - String!
|
|
version - String!
|
|
llmModelId - ID
|
|
llmModel - LlmModel
|
|
llmEmbeddingModelId - ID
|
|
llmEmbeddingModel - LlmEmbeddingModel
|
|
alertExpression - String
|
|
minimumScore - Int
|
|
maximumScore - Int
|
|
prompt - String
|
|
customName - String
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
isDeleted - Boolean!
|
Example
{
"id": "4",
"llmEvaluationId": "4",
"evaluator": "xyz789",
"metric": "xyz789",
"provider": "xyz789",
"version": "abc123",
"llmModelId": "4",
"llmModel": LlmModel,
"llmEmbeddingModelId": 4,
"llmEmbeddingModel": LlmEmbeddingModel,
"alertExpression": "xyz789",
"minimumScore": 987,
"maximumScore": 123,
"prompt": "abc123",
"customName": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false
}
LlmEvaluationEvaluatorSummary
Fields
| Field Name | Description |
|---|---|
llmEvaluationEvaluatorId - ID!
|
|
score - Float!
|
|
driftThreshold - DriftThreshold
|
Example
{
"llmEvaluationEvaluatorId": "4",
"score": 123.45,
"driftThreshold": DriftThreshold
}
LlmEvaluationExecution
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM evaluation execution id. |
llmEvaluationId - ID!
|
The LLM evaluation id that the LLM evaluation execution belongs to. |
status - LlmEvaluationCreationStatus!
|
The LLM evaluation execution status. |
errorMessage - String
|
The LLM evaluation execution error message. |
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM evaluation execution is deleted or not. |
Example
{
"id": "4",
"llmEvaluationId": 4,
"status": "PREPARING",
"errorMessage": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": true
}
LlmEvaluationGeneratedAnswer
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM evaluation generated answer id. |
llmEvaluationPromptId - ID!
|
The LLM evaluation prompt id that the LLM evaluation generated answer belongs to. |
llmRagConfig - LlmRagConfig
|
The RAG config that is used to generate the answer if the answer is generated. Will be null if the answer is provided in the prompt set. |
llmRagConfigId - ID
|
ID of the RAG config that is used to generate the answer if the answer is generated. Will be null if the answer is provided in the prompt set. |
answer - String!
|
The answer, either provided in the prompt set or generated. |
llmEvaluationAnswerScores - [LlmEvaluationAnswerScore!]
|
The score of the generated answer. |
processingTime - Float
|
The processing time of the generated answer. |
cost - Float
|
The cost of the generated answer. |
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM evaluation generated answer is deleted or not. |
Example
{
"id": 4,
"llmEvaluationPromptId": 4,
"llmRagConfig": LlmRagConfig,
"llmRagConfigId": "4",
"answer": "abc123",
"llmEvaluationAnswerScores": [LlmEvaluationAnswerScore],
"processingTime": 987.65,
"cost": 123.45,
"createdAt": "abc123",
"updatedAt": "xyz789",
"isDeleted": true
}
LlmEvaluationGeneratedAnswerContext
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM evaluation generated answer context id. |
llmEvaluationGeneratedAnswerId - ID!
|
The LLM evaluation generated answer id that the LLM evaluation generated answer context belongs to. |
content - String!
|
The content of the context. |
metadata - String!
|
The metadata of the context. |
score - Float!
|
The score of the generated answer. |
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM evaluation generated answer context is deleted or not. |
Example
{
"id": 4,
"llmEvaluationGeneratedAnswerId": "4",
"content": "abc123",
"metadata": "abc123",
"score": 987.65,
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false
}
LlmEvaluationInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
The LLM evaluation name. This will be used as the project's name and the project document's name. |
teamId - ID!
|
The team id that the LLM evaluation belongs to. |
llmRagConfigId - ID
|
The RAG config id, used to generate the answers. Required if the completions are not provided, and will be ignored if the completions are provided. |
numberOfCompletions - Int
|
The number of completions to be generated. Must be between 2 and 10 inclusively. Default is 1 for ProjectKind.LLM_EVALUATION and 2 for ProjectKind.LLM_RANKING. |
promptSetObjectKey - String!
|
The uploaded prompt set's object key. |
type - GqlLlmEvaluationType!
|
The evaluation type. |
Example
{
"name": "abc123",
"teamId": "4",
"llmRagConfigId": 4,
"numberOfCompletions": 123,
"promptSetObjectKey": "xyz789",
"type": "RATING"
}
LlmEvaluationPaginatedResponse
Description
Paginated list of results.
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
Total number of results that matches the applied filter |
pageInfo - PageInfo!
|
|
nodes - [LlmEvaluation!]!
|
List of results. See type LlmEvaluation. |
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LlmEvaluation]
}
LlmEvaluationPrompt
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM evaluation prompt id. |
llmEvaluationId - ID!
|
The LLM evaluation id that the LLM evaluation prompt belongs to. |
prompt - String!
|
The prompt from the uploaded prompt set. |
expectedCompletion - String
|
The expected completion from the uploaded prompt set. |
externalRagConfig - String
|
The prompt template from the uploaded prompt set. |
externalSources - String
|
The sources from the uploaded prompt set. |
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM evaluation prompt is deleted or not. |
Example
{
"id": "4",
"llmEvaluationId": 4,
"prompt": "abc123",
"expectedCompletion": "abc123",
"externalRagConfig": "xyz789",
"externalSources": "xyz789",
"createdAt": "xyz789",
"updatedAt": "abc123",
"isDeleted": false
}
LlmEvaluationRagConfig
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The LLM evaluation RAG config id. |
llmEvaluationId - ID!
|
The LLM evaluation id that the LLM evaluation RAG config belongs to. |
llmApplication - LlmApplication
|
The LLM application. Used to get the LLM application name. Will be null if deleted. |
llmPlaygroundRagConfig - LlmApplicationPlaygroundRagConfig
|
The LLM playground RAG config, used to get the prompt template name if the RAG config is not deployed yet. Will be null if deleted. |
llmDeploymentRagConfig - LlmApplicationDeployment
|
The LLM deployment RAG config, will be the indicator that the prompt template name should be generated if the RAG config is deployed. Will be null if deleted. |
llmRagConfigId - ID
|
The source of RAG config's id. Will be null if deleted. |
llmSnapshotRagConfig - LlmRagConfig!
|
The snapshot of the RAG config. This will be used to generate the answers. Cannot be deleted. |
llmApplicationConfigurationRagConfig - LlmApplicationConfiguration
|
The LLM application configuration RAG config if evaluation is from saved application. Will be null if evaluation is from deployment. |
llmEvaluationExecutionId - ID
|
The LLM evaluation execution id. Will be null if it is the template rag config. |
ragConfigSourceType - GqlLlmEvaluationRagConfigSourceType!
|
The source of RAG config's id. |
createdAt - String!
|
Timestamp in ISO 8601 format. |
updatedAt - String!
|
Timestamp in ISO 8601 format. |
isDeleted - Boolean!
|
The LLM evaluation rag config is deleted or not. |
applicationName - String
|
The name of the RAG config. |
Example
{
"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"
}
LlmEvaluationRagConfigSummary
Fields
| Field Name | Description |
|---|---|
llmEvaluationRagConfigId - ID
|
|
cost - Float
|
|
processingTime - Float
|
|
scores - [LlmEvaluationEvaluatorSummary!]
|
Example
{
"llmEvaluationRagConfigId": 4,
"cost": 123.45,
"processingTime": 123.45,
"scores": [LlmEvaluationEvaluatorSummary]
}
LlmEvaluationSummary
Fields
| Field Name | Description |
|---|---|
llmEvaluationId - ID!
|
|
llmEvaluation - LlmEvaluation!
|
|
totalPromptCount - Int!
|
|
totalUnansweredPromptCount - Int!
|
|
totalFailedThresholdCompletionsCount - Int!
|
|
summaries - [LlmEvaluationRagConfigSummary!]!
|
Example
{
"llmEvaluationId": "4",
"llmEvaluation": LlmEvaluation,
"totalPromptCount": 987,
"totalUnansweredPromptCount": 123,
"totalFailedThresholdCompletionsCount": 987,
"summaries": [LlmEvaluationRagConfigSummary]
}
LlmFile
Example
{
"id": 4,
"teamId": "4",
"name": "abc123",
"type": "IMAGE",
"originalFileUrl": "xyz789",
"previewUrl": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
LlmFileType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"IMAGE"
LlmFreeTrialDailyLimitsConfig
LlmInstanceCostDetail
LlmInstanceTypeDetail
Fields
| Field Name | Description |
|---|---|
name - String!
|
|
cost - LlmInstanceCostDetail
|
|
createdAt - String
|
Example
{
"name": "xyz789",
"cost": LlmInstanceCostDetail,
"createdAt": "abc123"
}
LlmManualEvaluationApplicationSummary
LlmManualEvaluationSummary
Fields
| Field Name | Description |
|---|---|
llmEvaluationId - ID!
|
|
totalPromptCount - Int!
|
|
totalScoredPromptCount - Int!
|
|
averageScore - Float!
|
|
applicationSummaries - [LlmManualEvaluationApplicationSummary!]!
|
Example
{
"llmEvaluationId": 4,
"totalPromptCount": 123,
"totalScoredPromptCount": 123,
"averageScore": 987.65,
"applicationSummaries": [
LlmManualEvaluationApplicationSummary
]
}
LlmModel
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID
|
|
provider - GqlLlmModelProvider!
|
|
name - String!
|
|
displayName - String!
|
|
url - String!
|
|
region - [String!]
|
|
maxTemperature - Float!
|
|
maxTopP - Float!
|
|
maxTokens - Int!
|
|
maxContextWindow - Int!
|
|
defaultTemperature - Float!
|
|
defaultTopP - Float!
|
|
defaultMaxTokens - Int!
|
|
minTemperature - Float!
|
|
minTopP - Float!
|
|
llmModelFineTuningJob - LlmModelFineTuningJob
|
|
deployableModelId - String
|
The model identifier (ARN) of the model to be deployed. If exists, the model is deployable |
isModelDeployable - Boolean!
|
|
forceAnonymization - Boolean!
|
|
hasVisionCapability - Boolean!
|
|
variant - GqlLlmModelVariant
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "abc123",
"displayName": "abc123",
"url": "abc123",
"region": ["xyz789"],
"maxTemperature": 123.45,
"maxTopP": 987.65,
"maxTokens": 987,
"maxContextWindow": 987,
"defaultTemperature": 123.45,
"defaultTopP": 987.65,
"defaultMaxTokens": 123,
"minTemperature": 123.45,
"minTopP": 987.65,
"llmModelFineTuningJob": LlmModelFineTuningJob,
"deployableModelId": "xyz789",
"isModelDeployable": false,
"forceAnonymization": true,
"hasVisionCapability": true,
"variant": "META",
"createdAt": "xyz789",
"updatedAt": "abc123"
}
LlmModelDeployInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
provider - GqlLlmModelProvider!
|
|
name - String!
|
|
url - String!
|
|
instanceType - String!
|
Example
{
"teamId": "4",
"provider": "AMAZON_BEDROCK",
"name": "xyz789",
"url": "abc123",
"instanceType": "abc123"
}
LlmModelDetail
Fields
| Field Name | Description |
|---|---|
modelId - ID!
|
|
modelType - GqlLlmModelType!
|
|
status - GqlLlmModelStatus!
|
|
instanceType - String
|
|
instanceTypeDetail - LlmInstanceTypeDetail
|
Example
{
"modelId": 4,
"modelType": "LLM_MODEL",
"status": "AVAILABLE",
"instanceType": "xyz789",
"instanceTypeDetail": LlmInstanceTypeDetail
}
LlmModelFineTuningCostPredictionInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
The team id that the resource belongs to. |
baseModelId - String
|
The fine tuning job base model name, which is a foundation model's modelId. |
fineTunedJobId - String
|
The previous trained model job entity's id (current model comes from other fine-tuned model) |
serviceProvider - GqlLlmModelProvider!
|
Fine tuning service provider. |
epochs - Int!
|
This will be used as iterations for the entire training dataset |
trainingDataset - LlmModelFineTuningTrainingDataset!
|
The training dataset for fine tuning. |
validation - LlmModelFineTuningValidation
|
The Validation dataset for fine tuning. |
Example
{
"teamId": "4",
"baseModelId": "xyz789",
"fineTunedJobId": "abc123",
"serviceProvider": "AMAZON_BEDROCK",
"epochs": 987,
"trainingDataset": LlmModelFineTuningTrainingDataset,
"validation": LlmModelFineTuningValidation
}
LlmModelFineTuningCostPredictionJob
LlmModelFineTuningInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
The fine tuned model name. This will be used as a name for the fine tuned model |
teamId - ID!
|
The team id that the fine tuned model belongs to. |
baseModelId - String
|
The fine tuning job base model name, which is a foundation model's modelId. |
fineTunedJobId - String
|
The previous trained model job entity's id (current model comes from other fine-tuned model) |
trainingDataset - LlmModelFineTuningTrainingDataset!
|
The traing dataset for fine tuning. |
validation - LlmModelFineTuningValidation
|
Will be used to validate training dataset |
serviceProvider - GqlLlmModelProvider!
|
Fine tuning service provider. |
region - String!
|
Region in which the fine tuned model will be created. |
epochs - Int!
|
The fine tuning hyperparameters. This will be used as iterations for the entire training dataset |
learningRate - Float
|
The fine tuning hyperparameters. Used as a rate after model parameters are updated after each batch. |
batchSize - Int!
|
The fine tuning hyperparameters. Number of samples processed before updating model parameters. |
earlyStoppingThreshold - Float
|
The fine tuning hyperparameters. Minimum improvement in loss required to prevent training termination. |
earlyStoppingPatience - Int
|
The fine tuning hyperparameters. Tolerance number for stagnation in the loss metric before stopping the training. |
learningRateWarmUpStep - Int
|
The fine tuning hyperparameters. Number of iterations over which the learning rate is gradually increased to specified rate. |
learningRateMultiplier - Float
|
Multiplier that influences the learning rate at which model parameters are updated after each batch. |
instanceType - String
|
The machine type of the fine tuning job. |
trainingVolumeSize - Int
|
The training volume size of the fine tuning job. |
instanceCount - Int
|
The number of compute instances to use for distributed training. |
optionalHyperparameters - JSON
|
The optional hyperparameters of the fine tuning job. |
Example
{
"name": "xyz789",
"teamId": 4,
"baseModelId": "xyz789",
"fineTunedJobId": "abc123",
"trainingDataset": LlmModelFineTuningTrainingDataset,
"validation": LlmModelFineTuningValidation,
"serviceProvider": "AMAZON_BEDROCK",
"region": "xyz789",
"epochs": 123,
"learningRate": 123.45,
"batchSize": 987,
"earlyStoppingThreshold": 987.65,
"earlyStoppingPatience": 987,
"learningRateWarmUpStep": 123,
"learningRateMultiplier": 987.65,
"instanceType": "abc123",
"trainingVolumeSize": 123,
"instanceCount": 123,
"optionalHyperparameters": {}
}
LlmModelFineTuningJob
Fields
| Field Name | Description |
|---|---|
id - ID!
|
The fine tuning job id. |
name - String!
|
The display name of the fine tuned model. |
teamId - ID!
|
The team id of the fine tuning job. |
status - GqlLlmModelFineTuningStatus!
|
The fine tuning job status. |
errorMessage - String
|
The error message in case the job failed. |
baseModelId - String!
|
The fine tuning job base model name, which is a foundation model's modelId. |
parentId - String
|
The previous trained model job entity's id (current model comes from other fine-tuned model) |
resultModelId - String
|
The ARN of the resulting fine-tuned model. |
trainingJobId - String
|
The training job ARN. |
trainingDataset - GroundTruthSet
|
The fine tuning job training dataset. |
trainingDatasetFilename - String
|
The filename of the training dataset |
validationSize - Int
|
The percentage of the training dataset used as validation, is null when validation dataset is not taken from training dataset. |
validationDataset - GroundTruthSet
|
The fine tuning job validation dataset, is null when validation dataset is taken from a certain percentage of the training dataset. |
validationDatasetFilename - String
|
The filename of the validation dataset |
epochs - Int!
|
The number of iterations through the entire training dataset. |
learningRate - Float
|
The rate at which model parameters are updated after each batch. |
batchSize - Int!
|
The number of samples processed before updating model parameters. |
earlyStoppingThreshold - Float
|
Minimum improvement in validation loss required to prevent premature termination of the training process. |
earlyStoppingPatience - Int
|
Tolerance for stagnation in the validation loss metric before stopping the training process. |
learningRateWarmUpStep - Int
|
The number of iterations over which the learning rate is gradually increased to the specified rate. |
learningRateMultiplier - Float
|
Multiplier that influences the learning rate at which model parameters are updated after each batch. |
instanceType - String
|
The machine type of the fine tuning job. |
trainingVolumeSize - Int
|
The training volume size of the fine tuning job. |
optionalHyperparameters - JSON
|
The optional hyperparameters of the fine tuning job. |
createdByUser - User
|
The user who creates the fine tuning job |
createdAt - String!
|
The fine tuning job created at. |
updatedAt - String!
|
The fine tuning job updated at. |
Example
{
"id": "4",
"name": "abc123",
"teamId": 4,
"status": "IN_PROGRESS",
"errorMessage": "abc123",
"baseModelId": "xyz789",
"parentId": "xyz789",
"resultModelId": "xyz789",
"trainingJobId": "abc123",
"trainingDataset": GroundTruthSet,
"trainingDatasetFilename": "abc123",
"validationSize": 987,
"validationDataset": GroundTruthSet,
"validationDatasetFilename": "xyz789",
"epochs": 123,
"learningRate": 987.65,
"batchSize": 987,
"earlyStoppingThreshold": 987.65,
"earlyStoppingPatience": 123,
"learningRateWarmUpStep": 123,
"learningRateMultiplier": 123.45,
"instanceType": "xyz789",
"trainingVolumeSize": 987,
"optionalHyperparameters": {},
"createdByUser": User,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
LlmModelFineTuningTrainingDataset
Example
{
"groundTruthId": 4,
"fileObjectKey": "xyz789",
"filename": "abc123"
}
LlmModelFineTuningValidation
Fields
| Input Field | Description |
|---|---|
percentage - Int
|
The validation dataset percentage. Percentage of what will be used as validation from the training dataset. |
dataset - LlmModelFineTuningTrainingDataset
|
The validation dataset file object key. Using newly uploaded dataset for validation. |
Example
{
"percentage": 123,
"dataset": LlmModelFineTuningTrainingDataset
}
LlmModelMetadata
Fields
| Field Name | Description |
|---|---|
providers - [GqlLlmModelProvider!]!
|
|
name - String!
|
|
displayName - String!
|
|
description - String!
|
|
type - GqlLlmModelMetadataType!
|
|
status - GqlLlmModelStatus!
|
Example
{
"providers": ["AMAZON_BEDROCK"],
"name": "abc123",
"displayName": "abc123",
"description": "abc123",
"type": "QUESTION_ANSWERING",
"status": "AVAILABLE"
}
LlmModelSpec
Fields
| Field Name | Description |
|---|---|
supportedInferenceInstanceTypes - [String!]!
|
|
supportedInferenceInstanceTypeDetails - [LlmInstanceTypeDetail!]!
|
Example
{
"supportedInferenceInstanceTypes": [
"abc123"
],
"supportedInferenceInstanceTypeDetails": [
LlmInstanceTypeDetail
]
}
LlmRagConfig
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
llmModel - LlmModel
|
|
systemInstruction - String
|
|
userInstruction - String
|
|
raw - String
|
|
temperature - Float!
|
|
topP - Float!
|
|
maxTokens - Int!
|
|
advancedHyperparameters - LlmRagConfigAdvancedHyperparameters!
|
|
maxVectorStoreTokens - Int!
|
|
llmVectorStore - LlmVectorStore
|
RagConfig handles multiple vector stores, use llmVectorStores instead |
llmVectorStores - [LlmVectorStore!]
|
|
similarityThreshold - Float
|
|
enableAnonymization - Boolean!
|
|
maxChunkSize - Int!
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": "4",
"llmModel": LlmModel,
"systemInstruction": "abc123",
"userInstruction": "abc123",
"raw": "abc123",
"temperature": 123.45,
"topP": 123.45,
"maxTokens": 123,
"advancedHyperparameters": LlmRagConfigAdvancedHyperparameters,
"maxVectorStoreTokens": 123,
"llmVectorStore": LlmVectorStore,
"llmVectorStores": [LlmVectorStore],
"similarityThreshold": 123.45,
"enableAnonymization": false,
"maxChunkSize": 987,
"createdAt": "abc123",
"updatedAt": "abc123"
}
LlmRagConfigAdvancedHyperparameters
Example
LlmRagConfigAdvancedHyperparameters
LlmRagConfigUpdateInput
Fields
| Input Field | Description |
|---|---|
llmModelId - ID
|
|
systemInstruction - String
|
|
userInstruction - String
|
|
temperature - Float
|
|
topP - Float
|
|
maxTokens - Int
|
|
advancedHyperparameters - LlmRagConfigAdvancedHyperparameters
|
|
maxVectorStoreTokens - Int
|
|
llmVectorStoreIds - [ID!]
|
|
similarityThreshold - Float
|
|
enableAnonymization - Boolean
|
|
maxChunkSize - Int
|
Example
{
"llmModelId": 4,
"systemInstruction": "abc123",
"userInstruction": "xyz789",
"temperature": 987.65,
"topP": 123.45,
"maxTokens": 987,
"advancedHyperparameters": LlmRagConfigAdvancedHyperparameters,
"maxVectorStoreTokens": 987,
"llmVectorStoreIds": ["4"],
"similarityThreshold": 987.65,
"enableAnonymization": false,
"maxChunkSize": 987
}
LlmUsage
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID!
|
|
name - String!
|
|
type - GqlLlmUsageType!
|
|
modelDetail - LlmUsageModelDetail!
|
|
metadata - [LlmUsageMetadata!]
|
|
cost - Float!
|
|
costCurrency - String!
|
|
usage - Float!
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"teamId": "4",
"name": "abc123",
"type": "VECTOR_STORE",
"modelDetail": LlmUsageModelDetail,
"metadata": [LlmUsageMetadata],
"cost": 987.65,
"costCurrency": "abc123",
"usage": 123.45,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
LlmUsageDetail
Fields
| Field Name | Description |
|---|---|
documents - [LlmUsageDocument!]
|
|
sourceDocuments - [LlmUsageSourceDocument!]
|
Example
{
"documents": [LlmUsageDocument],
"sourceDocuments": [LlmUsageSourceDocument]
}
LlmUsageDocument
LlmUsageDocumentScalar
Example
LlmUsageDocumentScalar
LlmUsageExternalSource
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
cloudService - ObjectStorageClientName
|
|
bucketName - String
|
Example
{
"id": "4",
"cloudService": "AWS_S3",
"bucketName": "abc123"
}
LlmUsageMetadata
LlmUsageModelDetail
LlmUsageModelSummary
LlmUsagePaginatedResponse
Description
Paginated list of results.
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
Total number of results that matches the applied filter |
pageInfo - PageInfo!
|
|
nodes - [LlmUsage!]!
|
List of results. See type LlmUsage. |
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmUsage]
}
LlmUsageSourceDocument
Fields
| Field Name | Description |
|---|---|
source - LlmUsageExternalSource!
|
|
documents - LlmUsageDocumentScalar
|
Example
{
"source": LlmUsageExternalSource,
"documents": LlmUsageDocumentScalar
}
LlmUsageSummary
Fields
| Field Name | Description |
|---|---|
totalCost - Float!
|
|
totalCostCurrency - String!
|
|
modelSummaries - [LlmUsageModelSummary!]!
|
Example
{
"totalCost": 987.65,
"totalCostCurrency": "xyz789",
"modelSummaries": [LlmUsageModelSummary]
}
LlmVectorStore
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID!
|
|
createdByUser - User
|
|
llmEmbeddingModel - LlmEmbeddingModel
|
|
provider - GqlLlmVectorStoreProvider!
|
|
collectionId - String!
|
|
name - String!
|
|
status - GqlLlmVectorStoreStatus!
|
|
documents - [LlmVectorStoreDocumentScalar!]
|
|
documentStatusCount - LlmVectorStoreDocumentCountByStatus
|
|
sourceDocuments - [LlmVectorStoreSourceDocument!]
|
|
questions - [Question!]
|
|
jobId - String
|
|
chunkConfiguration - ChunkConfiguration
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
dimension - Int
|
Example
{
"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": "abc123",
"updatedAt": "xyz789",
"dimension": 987
}
LlmVectorStoreActivity
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
llmVectorStoreId - ID!
|
|
llmVectorStoreName - String!
|
|
llmVectorStoreDocumentId - ID
|
|
llmVectorStoreDocumentName - String
|
|
userId - ID
|
|
userName - String
|
|
event - GqlLlmVectorStoreActivityEvent!
|
|
details - String
|
|
bucketName - String
|
|
bucketSource - String
|
|
updateLlmVectorStoreDocumentInput - UpdateLlmVectorStoreDocument
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": "4",
"llmVectorStoreId": "4",
"llmVectorStoreName": "xyz789",
"llmVectorStoreDocumentId": "4",
"llmVectorStoreDocumentName": "xyz789",
"userId": "4",
"userName": "xyz789",
"event": "CREATE_LLM_VECTOR_STORE",
"details": "abc123",
"bucketName": "xyz789",
"bucketSource": "abc123",
"updateLlmVectorStoreDocumentInput": UpdateLlmVectorStoreDocument,
"createdAt": "abc123",
"updatedAt": "xyz789"
}
LlmVectorStoreAnswer
Fields
| Field Name | Description |
|---|---|
llmVectorStoreDocumentId - ID!
|
|
answers - AnswerScalar!
|
|
updatedAt - DateTime
|
Example
{
"llmVectorStoreDocumentId": "4",
"answers": AnswerScalar,
"updatedAt": "2007-12-03T10:15:30Z"
}
LlmVectorStoreChunksSearchConfig
Fields
| Input Field | Description |
|---|---|
searchRequest - LlmVectorStoreChunksSearchConfigSearchRequest!
|
Example
{
"searchRequest": LlmVectorStoreChunksSearchConfigSearchRequest
}
LlmVectorStoreChunksSearchConfigSearchRequest
Example
LlmVectorStoreChunksSearchConfigSearchRequest
LlmVectorStoreDocument
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
objectKey - String
|
|
path - String!
|
|
previewPath - String!
|
|
type - GqlLlmVectorStoreDocumentType!
|
|
status - GqlLlmVectorStoreDocumentStatus!
|
|
errorMessage - String
|
|
llmVectorStoreSource - LlmVectorStoreSource
|
|
llmVectorStoreSourceId - ID
|
|
chunkConfiguration - ChunkConfiguration
|
|
transcriptionPath - String
|
|
processingPriority - Int
|
|
version - String
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"name": "abc123",
"objectKey": "abc123",
"path": "abc123",
"previewPath": "abc123",
"type": "FOLDER",
"status": "QUEUED",
"errorMessage": "abc123",
"llmVectorStoreSource": LlmVectorStoreSource,
"llmVectorStoreSourceId": "4",
"chunkConfiguration": ChunkConfiguration,
"transcriptionPath": "xyz789",
"processingPriority": 987,
"version": "abc123",
"createdAt": "abc123",
"updatedAt": "abc123"
}
LlmVectorStoreDocumentCountByStatus
Example
{
"totalQueued": 123,
"totalProcessing": 987,
"totalDeleting": 987,
"totalCompleted": 123,
"totalProcessFailed": 123,
"totalDeleteFailed": 123,
"totalDocumentInvalid": 987,
"totalDocuments": 123
}
LlmVectorStoreDocumentInput
Description
To provide the document, choose one of these fields:
filefileUrlexternalImportableUrlexternalObjectStorageFileKeyobjectKey
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. 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 llm vector store is successfully created since the file will be uploaded to Datasaur's server. |
objectKey - String
|
Optional. Fill this with the objectKey returned by uploading the file via upload proxy REST API. |
chunkConfiguration - ChunkConfiguration
|
Optional. The chunk configuration for the document. |
chunks - [DocumentChunkInput!]
|
Optional. The new document chunks. If provided, the document will use these chunks instead of chunking it. |
defaultChunkMetadata - DefaultChunkMetadata
|
Optional. The default chunk metadata for the document. |
isFavorite - Boolean
|
Optional. Whether the document is a favorite. |
Example
{
"fileName": "abc123",
"name": "xyz789",
"file": Upload,
"fileUrl": "xyz789",
"externalImportableUrl": "xyz789",
"objectKey": "abc123",
"chunkConfiguration": ChunkConfiguration,
"chunks": [DocumentChunkInput],
"defaultChunkMetadata": DefaultChunkMetadata,
"isFavorite": true
}
LlmVectorStoreDocumentPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [LlmVectorStoreDocumentPaginationItem!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [LlmVectorStoreDocumentPaginationItem]
}
LlmVectorStoreDocumentPaginationItem
Fields
| Field Name | Description |
|---|---|
id - ID
|
|
name - String!
|
|
objectKey - String
|
|
path - String
|
|
previewPath - String
|
|
type - GqlLlmVectorStoreDocumentType!
|
|
status - GqlLlmVectorStoreDocumentStatus
|
|
errorMessage - String
|
|
llmVectorStoreSourceId - ID
|
|
chunkConfiguration - ChunkConfiguration
|
|
transcriptionPath - String
|
|
processingPriority - Int
|
|
createdAt - String
|
|
updatedAt - String
|
Example
{
"id": 4,
"name": "xyz789",
"objectKey": "abc123",
"path": "abc123",
"previewPath": "xyz789",
"type": "FOLDER",
"status": "QUEUED",
"errorMessage": "abc123",
"llmVectorStoreSourceId": 4,
"chunkConfiguration": ChunkConfiguration,
"transcriptionPath": "xyz789",
"processingPriority": 123,
"createdAt": "xyz789",
"updatedAt": "abc123"
}
LlmVectorStoreDocumentScalar
Example
LlmVectorStoreDocumentScalar
LlmVectorStoreDocumentsPaginatedFilterInput
Fields
| Input Field | Description |
|---|---|
llmVectorStoreSourceFilter - LlmVectorStoreDocumentsPaginatedSourceFilterInput
|
Filter by the source. Empty means all sources. |
namePattern - LlmVectorStoreDocumentsPaginatedNamePatternFilterInput
|
Filter by the document's name (including path). |
types - [GqlLlmVectorStoreDocumentType!]
|
Filter by the document types, Empty array means all types. |
additionalFilter - GqlLlmVectorStoreDocumentAdditionalFilter
|
Filter by the document filter type. |
statuses - [GqlLlmVectorStoreDocumentStatus!]
|
Filter by the document statuses, Empty array means all statuses except DELETED. |
Example
{
"llmVectorStoreSourceFilter": LlmVectorStoreDocumentsPaginatedSourceFilterInput,
"namePattern": LlmVectorStoreDocumentsPaginatedNamePatternFilterInput,
"types": ["FOLDER"],
"additionalFilter": "ALL_FILES",
"statuses": ["QUEUED"]
}
LlmVectorStoreDocumentsPaginatedNamePatternFilterInput
Fields
| Input Field | Description |
|---|---|
caseSensitive - Boolean
|
Use case sensitive search. This can be slow for large datasets. |
globPattern - String
|
Search for documents with the given glob pattern. Superseeds prefix filter. |
prefixFilter - LlmVectorStoreDocumentsPaginatedPrefixFilterInput
|
Will be ignored if globPattern is provided. Search for documents with the given prefix. |
Example
{
"caseSensitive": true,
"globPattern": "abc123",
"prefixFilter": LlmVectorStoreDocumentsPaginatedPrefixFilterInput
}
LlmVectorStoreDocumentsPaginatedPrefixFilterInput
Fields
| Input Field | Description |
|---|---|
prefix - String!
|
|
matchAsString - Boolean
|
If true, prefix will be treated as a normal string and will filter documents that start with the prefix,. If false or empty, prefix will be treated as a folder path and only matches if document is in the 'folder' of the prefix. |
depth - Int
|
Will be ignored if matchAsString is true. Sets the depth of the prefix filter, 0 means only return files & folders located directly under the prefix, 1 means return files & folders directly under the prefix and files in the first level of subfolders, and so on. Negative numbers means no limit. Default is 0. |
Example
{
"prefix": "abc123",
"matchAsString": true,
"depth": 987
}
LlmVectorStoreDocumentsPaginatedSortField
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
LlmVectorStoreDocumentsPaginatedSortInput
Fields
| Input Field | Description |
|---|---|
field - LlmVectorStoreDocumentsPaginatedSortField!
|
|
order - OrderType!
|
Example
{"field": "id", "order": "ASC"}
LlmVectorStoreDocumentsPaginatedSourceFilterInput
Fields
| Input Field | Description |
|---|---|
includeLocalDocuments - Boolean!
|
Adds local documents to the result. |
llmVectorStoreSourceIds - [ID!]!
|
Source ids to filter, If empty and includeLocalDocuments is true, it will only return local documents. If includeLocalDocuments is false, it will return all documents. |
Example
{
"includeLocalDocuments": true,
"llmVectorStoreSourceIds": ["4"]
}
LlmVectorStoreFilePropertiesSearchConfig
Fields
| Input Field | Description |
|---|---|
query - LlmVectorStoreFilePropertiesSearchConfigQuery!
|
|
disableScoreNormalization - Boolean
|
Example
{
"query": LlmVectorStoreFilePropertiesSearchConfigQuery,
"disableScoreNormalization": false
}
LlmVectorStoreFilePropertiesSearchConfigQuery
Example
LlmVectorStoreFilePropertiesSearchConfigQuery
LlmVectorStoreLaunchJob
LlmVectorStoreMetadataFilteringQuery
Example
LlmVectorStoreMetadataFilteringQuery
LlmVectorStorePaginatedResponse
Description
Paginated list of results.
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
Total number of results that matches the applied filter |
pageInfo - PageInfo!
|
|
nodes - [LlmVectorStore!]!
|
List of results. See type LlmVectorStore. |
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [LlmVectorStore]
}
LlmVectorStoreSearchFilterInput
Fields
| Input Field | Description |
|---|---|
fileIds - [ID!]
|
Filter by the document ids. This overrides the metadata filtering query. |
metadataFilteringQuery - LlmVectorStoreMetadataFilteringQuery
|
DEPRECATED: Use filePropertiesSearchConfig instead. Filter by the metadata filtering query. This query is used to filter the documents by the metadata fields. This field is deprecated and will be removed in the future. |
pageNumbers - [Int!]
|
Filter by the page numbers. |
Example
{
"fileIds": ["4"],
"metadataFilteringQuery": LlmVectorStoreMetadataFilteringQuery,
"pageNumbers": [123]
}
LlmVectorStoreSearchInput
Fields
| Input Field | Description |
|---|---|
ids - [ID!]!
|
|
query - String!
|
|
filter - LlmVectorStoreSearchFilterInput
|
|
chunksSearchConfig - LlmVectorStoreChunksSearchConfig
|
|
filePropertiesSearchConfig - LlmVectorStoreFilePropertiesSearchConfig
|
|
minScore - Float
|
|
maxSize - Int
|
|
disableRetrievalContextPostProcessing - Boolean
|
Example
{
"ids": ["4"],
"query": "xyz789",
"filter": LlmVectorStoreSearchFilterInput,
"chunksSearchConfig": LlmVectorStoreChunksSearchConfig,
"filePropertiesSearchConfig": LlmVectorStoreFilePropertiesSearchConfig,
"minScore": 987.65,
"maxSize": 987,
"disableRetrievalContextPostProcessing": false
}
LlmVectorStoreSearchResponse
LlmVectorStoreSource
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
llmVectorStoreId - ID!
|
|
externalObjectStorage - ExternalObjectStorage
|
|
rules - LlmVectorStoreSourceRules!
|
|
scheduledCommandConfig - ScheduledCommandConfig
|
|
nextSchedule - String
|
|
lastSyncedAt - String!
|
|
isDeleting - Boolean!
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": "4",
"llmVectorStoreId": "4",
"externalObjectStorage": ExternalObjectStorage,
"rules": LlmVectorStoreSourceRules,
"scheduledCommandConfig": ScheduledCommandConfig,
"nextSchedule": "abc123",
"lastSyncedAt": "abc123",
"isDeleting": true,
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
LlmVectorStoreSourceCheckRulesResult
Fields
| Field Name | Description |
|---|---|
valid - Boolean!
|
|
invalidRules - LlmVectorStoreSourceInvalidRules
|
Example
{
"valid": false,
"invalidRules": LlmVectorStoreSourceInvalidRules
}
LlmVectorStoreSourceCreateInput
Fields
| Input Field | Description |
|---|---|
externalObjectStorageId - ID!
|
|
rules - LlmVectorStoreSourceRulesInput!
|
|
refresh - Boolean
|
|
schedule - LlmVectorStoreSyncSourceScheduleInput
|
|
preChunkedDocuments - [LlmVectorStoreSourcePreChunkedDocument!]
|
Example
{
"externalObjectStorageId": "4",
"rules": LlmVectorStoreSourceRulesInput,
"refresh": false,
"schedule": LlmVectorStoreSyncSourceScheduleInput,
"preChunkedDocuments": [
LlmVectorStoreSourcePreChunkedDocument
]
}
LlmVectorStoreSourceDocument
Fields
| Field Name | Description |
|---|---|
source - LlmVectorStoreSource!
|
|
documents - LlmVectorStoreDocumentScalar
|
Example
{
"source": LlmVectorStoreSource,
"documents": LlmVectorStoreDocumentScalar
}
LlmVectorStoreSourceDocumentScalar
Description
Example of LlmVectorStoreSourceDocumentScalar
{
"data": {
"getLlmVectorStoreSourceNewDocuments": [
{
"name": "doraemon.pdf",
"status": "NEW"
},
{
"folder nested": [
{
"folder inside": [
{
"name": "tes chunk.txt",
"status": "NEW"
}
]
},
{
"name": "tes chunk.txt",
"status": "NEW"
}
]
},
{
"folder1": [
{
"name": "doraemon.pdf",
"status": "NEW"
},
{
"name": "tes chunk.txt",
"status": "NEW"
},
{
"name": "tes copy.txt",
"status": "NEW"
}
]
},
{
"name": "tes copy.txt",
"status": "NEW"
}
]
}
}
{
"data": {
"getLlmVectorStoreSourceUpdatedDocuments": [
{
"folder1": [
{
"name": "tes chunk.txt",
"status": "NEW"
},
{
"name": "tes copy.txt",
"status": "NEW"
},
{
"name": "tes chunk lama.txt",
"status": "DELETED"
},
{
"name": "tes copy lama.txt",
"status": "DELETED"
}
]
}
]
}
}
{
"data": {
"getLlmVectorStoreSourceDeletedDocuments": [
{
"name": "doraemon.pdf",
"status": "DELETED"
},
{
"folder nested": [
{
"folder inside": [
{
"name": "tes chunk.txt",
"status": "DELETED"
}
]
},
{
"name": "tes chunk.txt",
"status": "DELETED"
}
]
},
{
"folder1": [
{
"name": "doraemon.pdf",
"status": "DELETED"
},
{
"name": "tes chunk lama.txt",
"status": "DELETED"
},
{
"name": "tes copy lama.txt",
"status": "DELETED"
}
]
},
{
"name": "tes copy.txt",
"status": "DELETED"
}
]
}
}
Example
LlmVectorStoreSourceDocumentScalar
LlmVectorStoreSourceInvalidRules
LlmVectorStoreSourcePreChunkedDocument
Fields
| Input Field | Description |
|---|---|
objectKey - String!
|
|
chunks - [DocumentChunkInput!]
|
|
chunkConfiguration - ChunkConfiguration!
|
|
isFavorite - Boolean
|
Example
{
"objectKey": "abc123",
"chunks": [DocumentChunkInput],
"chunkConfiguration": ChunkConfiguration,
"isFavorite": true
}
LlmVectorStoreSourceRule
LlmVectorStoreSourceRuleInput
LlmVectorStoreSourceRules
Fields
| Field Name | Description |
|---|---|
includeRule - LlmVectorStoreSourceRule!
|
|
excludeRule - LlmVectorStoreSourceRule!
|
Example
{
"includeRule": LlmVectorStoreSourceRule,
"excludeRule": LlmVectorStoreSourceRule
}
LlmVectorStoreSourceRulesInput
Fields
| Input Field | Description |
|---|---|
includeRule - LlmVectorStoreSourceRuleInput!
|
|
excludeRule - LlmVectorStoreSourceRuleInput!
|
Example
{
"includeRule": LlmVectorStoreSourceRuleInput,
"excludeRule": LlmVectorStoreSourceRuleInput
}
LlmVectorStoreSourceUpdateInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
rules - LlmVectorStoreSourceRulesInput
|
|
refresh - Boolean
|
|
schedule - LlmVectorStoreSyncSourceScheduleInput
|
|
deleteSchedule - Boolean
|
|
preChunkedDocuments - [LlmVectorStoreSourcePreChunkedDocument!]
|
Example
{
"id": "4",
"rules": LlmVectorStoreSourceRulesInput,
"refresh": true,
"schedule": LlmVectorStoreSyncSourceScheduleInput,
"deleteSchedule": true,
"preChunkedDocuments": [
LlmVectorStoreSourcePreChunkedDocument
]
}
LlmVectorStoreSyncSourceScheduleInput
LoadLlmApplicationConfigurationInput
LoadLlmApplicationConfigurationToPlaygroundResponse
LoginInput
LoginResult
Fields
| Field Name | Description |
|---|---|
type - LoginResultType!
|
|
successData - LoginSuccess!
|
Example
{"type": "SUCCESS", "successData": LoginSuccess}
LoginResultType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"SUCCESS"
LoginSuccess
MarkDocumentAsFavoriteInput
MarkUnusedLabelClassInput
MarkedUnusedLabelClassIds
Fields
| Field Name | Description |
|---|---|
documentId - ID!
|
|
labelSetId - ID!
|
|
labelClassIds - [String!]!
|
Example
{
"documentId": 4,
"labelSetId": 4,
"labelClassIds": ["xyz789"]
}
MatrixClass
MatrixData
MediaDisplayStrategy
Description
Determines how media displayed in editor.
Values
| Enum Value | Description |
|---|---|
|
|
Media will be not rendered. |
|
|
Media will be rendered as thumbnail. |
|
|
Media will be rendered with its original size. |
Example
"NONE"
MinimumLabelingStatus
Fields
| Field Name | Description |
|---|---|
labeler - TeamMember!
|
|
isCompleted - Boolean!
|
|
isStarted - Boolean!
|
Example
{
"labeler": TeamMember,
"isCompleted": true,
"isStarted": false
}
ModelMetadata
Example
ModelMetadata
ModifyQuestionConfigInput
Description
Should have the similar definition as QuestionConfigInput. The difference being:
- The
questionsfield type. Here it is[ModifyQuestionInput!].
Fields
| Input Field | Description |
|---|---|
defaultValue - String
|
|
format - String
|
|
multiple - Boolean
|
|
multiline - Boolean
|
|
options - [QuestionConfigOptionsInput!]
|
|
leafOptionsOnly - Boolean
|
|
questions - [ModifyQuestionInput!]
|
|
minLength - Int
|
|
maxLength - Int
|
|
pattern - String
|
|
theme - SliderTheme
|
Legacy theming config. Please use gradientColors.
|
gradientColors - [String!]
|
|
min - Int
|
|
max - Int
|
|
step - Int
|
|
hideScaleLabel - Boolean
|
|
hint - String
|
|
customScript - CustomScriptInput
|
Example
{
"defaultValue": "xyz789",
"format": "abc123",
"multiple": false,
"multiline": true,
"options": [QuestionConfigOptionsInput],
"leafOptionsOnly": false,
"questions": [ModifyQuestionInput],
"minLength": 987,
"maxLength": 123,
"pattern": "abc123",
"theme": "PLAIN",
"gradientColors": ["xyz789"],
"min": 123,
"max": 123,
"step": 987,
"hideScaleLabel": true,
"hint": "abc123",
"customScript": CustomScriptInput
}
ModifyQuestionInput
Description
Should have the similar definition as QuestionInput. The difference being:
- Has extra
internalIdfield. - The
configfield type. Here it isModifyQuestionConfigInput.
Fields
| Input Field | Description |
|---|---|
internalId - String
|
|
id - Int
|
|
label - String
|
|
required - Boolean
|
|
type - QuestionType
|
|
config - ModifyQuestionConfigInput
|
|
bindToColumn - String
|
|
activationConditionLogic - String
|
Example
{
"internalId": "xyz789",
"id": 123,
"label": "xyz789",
"required": true,
"type": "DROPDOWN",
"config": ModifyQuestionConfigInput,
"bindToColumn": "abc123",
"activationConditionLogic": "xyz789"
}
OCRContentPositionMap
Example
OCRContentPositionMap
OCRContentPositionMaps
Fields
| Field Name | Description |
|---|---|
mediaToTranscript - OCRContentPositionMap!
|
|
transcriptToMedia - OCRContentPositionMap!
|
Example
{
"mediaToTranscript": OCRContentPositionMap,
"transcriptToMedia": OCRContentPositionMap
}
OCRContentPositionMapsInput
Fields
| Input Field | Description |
|---|---|
mediaToTranscript - OCRContentPositionMap!
|
|
transcriptToMedia - OCRContentPositionMap!
|
Example
{
"mediaToTranscript": OCRContentPositionMap,
"transcriptToMedia": OCRContentPositionMap
}
OCRContentPositionMapsResult
Fields
| Field Name | Description |
|---|---|
documentId - ID!
|
|
maps - OCRContentPositionMaps
|
Example
{
"documentId": "4",
"maps": OCRContentPositionMaps
}
OCRProvider
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"APACHE_TIKA"
ObjectMeta
ObjectStorageClientName
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AWS_S3"
OffsetPageInput
OrderType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASC"
OverallProjectPerformance
OverrideSentencesInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
|
sentences - [TextSentenceInput!]!
|
|
labelsToAdd - [GqlConflictableInput!]
|
|
labelsToDelete - [GqlConflictableInput!]
|
Example
{
"documentId": 4,
"sentences": [TextSentenceInput],
"labelsToAdd": [GqlConflictableInput],
"labelsToDelete": [GqlConflictableInput]
}
Package
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ENTERPRISE"
PageInfo
PaginatedAnalyticsDashboardFilterInput
PaginatedAnalyticsDashboardQueryInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - OffsetPageInput
|
|
sort - [SortInput!]
|
|
filter - PaginatedAnalyticsDashboardFilterInput!
|
Example
{
"cursor": "xyz789",
"page": OffsetPageInput,
"sort": [SortInput],
"filter": PaginatedAnalyticsDashboardFilterInput
}
PaginatedChartDataResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [ChartDataRow!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [ChartDataRow]
}
PaginatedProjectMetadataItem
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [ProjectMetadataItem!]!
|
Example
{
"totalCount": 987,
"pageInfo": PageInfo,
"nodes": [ProjectMetadataItem]
}
PaginatedResponse
Possible Types
| PaginatedResponse Types |
|---|
Example
{"totalCount": 123, "pageInfo": PageInfo}
PairKappa
PaymentMethod
Fields
| Field Name | Description |
|---|---|
hasPaymentMethod - Boolean!
|
|
throttledUntil - String
|
|
detail - PaymentMethodDetail
|
Example
{
"hasPaymentMethod": false,
"throttledUntil": "abc123",
"detail": PaymentMethodDetail
}
PaymentMethodDetail
Fields
| Field Name | Description |
|---|---|
type - String!
|
|
fundingType - String
|
|
displayBrand - String
|
|
creditCardLastFourNumber - String
|
|
creditCardExpiryMonth - Int
|
|
creditCardExpiryYear - Int
|
|
markedForRemoval - Boolean!
|
|
status - GqlPaymentStatus!
|
|
invalidStatusReason - GqlPaymentInvalidStatusReason
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"type": "abc123",
"fundingType": "abc123",
"displayBrand": "xyz789",
"creditCardLastFourNumber": "abc123",
"creditCardExpiryMonth": 123,
"creditCardExpiryYear": 123,
"markedForRemoval": true,
"status": "VALID",
"invalidStatusReason": "UNKNOWN",
"createdAt": "xyz789",
"updatedAt": "xyz789"
}
PaymentMethodTemporaryChargeConfiguration
ProcessingConfigurationSchema
Example
ProcessingConfigurationSchema
Project
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
team - Team
|
Please use teamId instead and retrieve Team from separate query |
teamId - ID
|
|
owner - User
|
|
externalObjectStorageId - String
|
|
rootDocumentId - ID!
|
No longer supported |
assignees - [ProjectAssignment!]
|
|
name - String!
|
|
tags - [Tag!]
|
|
type - String!
|
No longer supported |
createdDate - String!
|
|
completedDate - String
|
|
exportedDate - String
|
|
updatedDate - String!
|
|
isOwnerMe - Boolean!
|
|
isReviewByMeAllowed - Boolean!
|
|
settings - ProjectSettings!
|
|
workspaceSettings - WorkspaceSettings!
|
|
reviewingStatus - ReviewingStatus!
|
|
labelingStatus - [LabelingStatus!]
|
|
status - GqlProjectStatus!
|
|
performance - ProjectPerformance
|
|
selfLabelingStatus - GqlLabelingStatus!
|
|
purpose - ProjectPurpose!
|
|
rootCabinet - Cabinet!
|
|
reviewCabinet - Cabinet
|
|
labelerCabinets - [Cabinet!]!
|
|
guideline - Guideline
|
|
isArchived - Boolean
|
|
projectMetadataItems - [ProjectMetadataItem!]
|
|
availableDocumentsCount - Int
|
The number of documents not fully assigned to team members. Older projects will have this value initially set to null, but it will be tracked once there are any assignment updates. |
Example
{
"id": 4,
"team": Team,
"teamId": 4,
"owner": User,
"externalObjectStorageId": "abc123",
"rootDocumentId": "4",
"assignees": [ProjectAssignment],
"name": "abc123",
"tags": [Tag],
"type": "xyz789",
"createdDate": "xyz789",
"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": false,
"projectMetadataItems": [ProjectMetadataItem],
"availableDocumentsCount": 987
}
ProjectAssignment
Fields
| Field Name | Description |
|---|---|
teamMember - TeamMember!
|
|
documentIds - [String!]
|
|
documents - [TextDocument!]
|
|
role - ProjectAssignmentRole!
|
|
createdAt - DateTime!
|
|
updatedAt - DateTime!
|
Example
{
"teamMember": TeamMember,
"documentIds": ["abc123"],
"documents": [TextDocument],
"role": "LABELER",
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
ProjectAssignmentByNameInput
Description
Deprecated. See LaunchTextProjectInput and use field documentAssignments of type DocumentAssignmentInput instead.
Fields
| Input Field | Description |
|---|---|
teamMemberId - ID
|
We only require one between teamMemberId and email. Use teamMember query to retrieve the teamMemberId. |
email - String
|
We only require one between teamMemberId and email. Use email for simplicity. |
documentNames - [String!]
|
Document's name to be assigned. |
role - ProjectAssignmentRole
|
Example
{
"teamMemberId": "4",
"email": "xyz789",
"documentNames": ["xyz789"],
"role": "LABELER"
}
ProjectAssignmentInput
Fields
| Input Field | Description |
|---|---|
teamMemberId - ID!
|
|
transferTeamMemberId - ID
|
|
documentIds - [String!]!
|
|
role - ProjectAssignmentRole
|
Example
{
"teamMemberId": "4",
"transferTeamMemberId": "4",
"documentIds": ["abc123"],
"role": "LABELER"
}
ProjectAssignmentMode
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASSIGNED"
ProjectAssignmentRole
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"LABELER"
ProjectAssignmentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"COMPLETE"
ProjectConflictsCountItem
ProjectConfusionMatrixTable
Fields
| Field Name | Description |
|---|---|
projectKind - ProjectKind!
|
|
confusionMatrixTable - ConfusionMatrixTable!
|
Example
{
"projectKind": "DOCUMENT_BASED",
"confusionMatrixTable": ConfusionMatrixTable
}
ProjectDocumentsReviewProgress
ProjectDynamicReviewMethod
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ANY_OTHER_TEAM_MEMBER"
ProjectEvaluationMetric
Fields
| Field Name | Description |
|---|---|
projectKind - ProjectKind!
|
|
metric - EvaluationMetric!
|
Example
{
"projectKind": "DOCUMENT_BASED",
"metric": EvaluationMetric
}
ProjectExtension
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
cabinetId - ID!
|
|
elements - [ExtensionElement!]
|
|
width - Int!
|
Example
{
"id": "4",
"cabinetId": "4",
"elements": [ExtensionElement],
"width": 123
}
ProjectFinalReport
Fields
| Field Name | Description |
|---|---|
project - Project!
|
|
documentFinalReports - [DocumentFinalReport!]!
|
Example
{
"project": Project,
"documentFinalReports": [DocumentFinalReport]
}
ProjectKind
Description
See this documentation.
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DOCUMENT_BASED"
ProjectLabelersDocumentStatus
Fields
| Field Name | Description |
|---|---|
originId - ID!
|
|
assignedLabelers - [TeamMember!]!
|
|
completedLabelers - [TeamMember!]!
|
Example
{
"originId": 4,
"assignedLabelers": [TeamMember],
"completedLabelers": [TeamMember]
}
ProjectLabelingStatusResult
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
labelingStatus - [LabelingStatus!]!
|
Example
{"projectId": 4, "labelingStatus": [LabelingStatus]}
ProjectLaunchJob
ProjectMetadataInput
Fields
| Input Field | Description |
|---|---|
projectMetadataItems - [ProjectMetadataItemInput!]!
|
|
projectId - String!
|
Example
{
"projectMetadataItems": [ProjectMetadataItemInput],
"projectId": "abc123"
}
ProjectMetadataItem
Example
{
"id": "4",
"teamId": "4",
"creatorId": 4,
"key": "xyz789",
"value": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
ProjectMetadataItemInput
ProjectMinimumLabelingStatusResult
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
labelingStatus - [MinimumLabelingStatus!]!
|
Example
{
"projectId": "4",
"labelingStatus": [MinimumLabelingStatus]
}
ProjectPaginatedResponse
Description
Paginated list of projects.
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
Total number of projects that matches the applied filter |
pageInfo - PageInfo!
|
|
nodes - [Project!]!
|
List of projects. See type Project. |
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [Project]
}
ProjectPerformance
Example
{
"project": Project,
"projectId": "4",
"totalTimeSpent": 123,
"effectiveTotalTimeSpent": 987,
"conflicts": 987,
"totalLabelApplied": 987,
"numberOfAcceptedLabels": 987,
"numberOfDocuments": 987,
"numberOfTokens": 987,
"numberOfLines": 123
}
ProjectPerformanceResult
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
performance - ProjectPerformance
|
Example
{"projectId": 4, "performance": ProjectPerformance}
ProjectPurpose
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"LABELING"
ProjectQuestionSet
Fields
| Field Name | Description |
|---|---|
questions - [Question!]!
|
|
signature - String!
|
Example
{
"questions": [Question],
"signature": "abc123"
}
ProjectReviewingStatusResult
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
reviewingStatus - ReviewingStatus!
|
Example
{
"projectId": "4",
"reviewingStatus": ReviewingStatus
}
ProjectSample
ProjectSelfAssignment
Fields
| Field Name | Description |
|---|---|
updatedAssignment - ProjectAssignment!
|
|
assignedDocumentsCount - Int!
|
|
status - SelfAssignmentStatus!
|
Example
{
"updatedAssignment": ProjectAssignment,
"assignedDocumentsCount": 123,
"status": "PARTIAL"
}
ProjectSelfUnassignment
Fields
| Field Name | Description |
|---|---|
updatedAssignment - ProjectAssignment
|
|
unassignedDocumentsCount - Int!
|
Example
{
"updatedAssignment": ProjectAssignment,
"unassignedDocumentsCount": 123
}
ProjectSettings
Fields
| Field Name | Description |
|---|---|
autoMarkDocumentAsComplete - Boolean!
|
|
consensus - Int
|
Moved under conflictResolution.consensus
|
conflictResolution - ConflictResolution!
|
|
dynamicReviewMethod - ProjectDynamicReviewMethod
|
|
dynamicReviewMemberId - ID
|
|
enableEditLabelSet - Boolean!
|
|
enableReviewerEditSentence - Boolean!
|
|
enableReviewerInsertSentence - Boolean!
|
|
enableReviewerDeleteSentence - Boolean!
|
|
enableEditSentence - Boolean!
|
|
enableInsertSentence - Boolean!
|
|
enableDeleteSentence - Boolean!
|
|
enableDirectBBoxEditing - Boolean!
|
|
enableEnforceAutoLabelReviewerSettings - Boolean
|
|
enableRapidLabelingFeedback - Boolean!
|
|
enablePrelabeledDraft - Boolean!
|
|
hideLabelerNamesDuringReview - Boolean!
|
|
hideLabelsFromInactiveLabelSetDuringReview - Boolean!
|
|
hideOriginalSentencesDuringReview - Boolean!
|
|
hideRejectedLabelsDuringReview - Boolean!
|
|
labelerProjectCompletionNotification - LabelerProjectCompletionNotification!
|
|
selfAssignmentLimit - SelfAssignmentLimit!
|
|
shouldConfirmUnusedLabelSetItems - Boolean!
|
|
spotChecking - SpotChecking!
|
Example
{
"autoMarkDocumentAsComplete": false,
"consensus": 123,
"conflictResolution": ConflictResolution,
"dynamicReviewMethod": "ANY_OTHER_TEAM_MEMBER",
"dynamicReviewMemberId": 4,
"enableEditLabelSet": true,
"enableReviewerEditSentence": true,
"enableReviewerInsertSentence": false,
"enableReviewerDeleteSentence": false,
"enableEditSentence": false,
"enableInsertSentence": false,
"enableDeleteSentence": true,
"enableDirectBBoxEditing": true,
"enableEnforceAutoLabelReviewerSettings": false,
"enableRapidLabelingFeedback": true,
"enablePrelabeledDraft": false,
"hideLabelerNamesDuringReview": true,
"hideLabelsFromInactiveLabelSetDuringReview": true,
"hideOriginalSentencesDuringReview": false,
"hideRejectedLabelsDuringReview": false,
"labelerProjectCompletionNotification": LabelerProjectCompletionNotification,
"selfAssignmentLimit": SelfAssignmentLimit,
"shouldConfirmUnusedLabelSetItems": false,
"spotChecking": SpotChecking
}
ProjectSettingsInput
Fields
| Input Field | Description |
|---|---|
autoMarkDocumentAsComplete - Boolean
|
Enables automated mark document as complete. |
consensus - Int
|
Peer review / labeler consensus. It determines how many consensus so that the label will be automatically accepted. Moved under conflictResolution.consensus
|
conflictResolution - ConflictResolutionInput
|
|
dynamicReviewMethod - ProjectDynamicReviewMethod
|
|
dynamicReviewMemberId - ID
|
|
enableEditLabelSet - Boolean
|
Labelers will be restricted from adding or removing labels from the label set while labeling. |
enableReviewerEditSentence - Boolean
|
Reviewers will be able to edit the original text. If this is false, enableEditSentence will be forced to be false. Setting only this will populate enableReviewerInsertSentence & enableReviewerDeleteSentence with the same value. |
enableReviewerInsertSentence - Boolean
|
Reviewers will be able to add new sentences. |
enableReviewerDeleteSentence - Boolean
|
Reviewers will be able to delete sentences. |
enableEditSentence - Boolean
|
Same as enableReviewerEditSentence, but for labeler only. Setting only this will populate enableInsertSentence & enableDeleteSentence with the same value. |
enableInsertSentence - Boolean
|
Labelers will be able to add new sentences from labeler mode. |
enableDeleteSentence - Boolean
|
Labelers will be able to delete sentences from labeler mode. |
enableDirectBBoxEditing - Boolean
|
|
enableRapidLabelingFeedback - Boolean
|
|
enablePrelabeledDraft - Boolean
|
|
hideLabelerNamesDuringReview - Boolean
|
|
hideLabelsFromInactiveLabelSetDuringReview - Boolean
|
|
hideOriginalSentencesDuringReview - Boolean
|
|
hideRejectedLabelsDuringReview - Boolean
|
|
labelerProjectCompletionNotification - LabelerProjectCompletionNotificationInput
|
|
selfAssignmentLimit - SelfAssignmentLimitInput
|
|
shouldConfirmUnusedLabelSetItems - Boolean
|
Skip checking for unused label set item when marking document as complete |
spotChecking - SpotCheckingInput
|
If enabled, spot checking sets a minimum percentage of the labeler's work that needs to be reviewed by the reviewer. Only available if conflictResolution.mode: "MANUAL". |
enableEnforceAutoLabelReviewerSettings - Boolean
|
Example
{
"autoMarkDocumentAsComplete": true,
"consensus": 123,
"conflictResolution": ConflictResolutionInput,
"dynamicReviewMethod": "ANY_OTHER_TEAM_MEMBER",
"dynamicReviewMemberId": "4",
"enableEditLabelSet": false,
"enableReviewerEditSentence": false,
"enableReviewerInsertSentence": false,
"enableReviewerDeleteSentence": false,
"enableEditSentence": false,
"enableInsertSentence": true,
"enableDeleteSentence": true,
"enableDirectBBoxEditing": false,
"enableRapidLabelingFeedback": false,
"enablePrelabeledDraft": true,
"hideLabelerNamesDuringReview": true,
"hideLabelsFromInactiveLabelSetDuringReview": true,
"hideOriginalSentencesDuringReview": true,
"hideRejectedLabelsDuringReview": true,
"labelerProjectCompletionNotification": LabelerProjectCompletionNotificationInput,
"selfAssignmentLimit": SelfAssignmentLimitInput,
"shouldConfirmUnusedLabelSetItems": false,
"spotChecking": SpotCheckingInput,
"enableEnforceAutoLabelReviewerSettings": true
}
ProjectState
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ACTIVE"
ProjectStatisticPerLabelType
Fields
| Field Name | Description |
|---|---|
kind - ProjectKind!
|
|
labelEntityType - LabelEntityType!
|
|
applied - Int!
|
|
conflicted - Int!
|
|
accepted - Int!
|
|
rejected - Int!
|
Example
{
"kind": "DOCUMENT_BASED",
"labelEntityType": "ARROW",
"applied": 123,
"conflicted": 123,
"accepted": 123,
"rejected": 987
}
ProjectSummaryMetric
Fields
| Field Name | Description |
|---|---|
key - ProjectSummaryMetricKey!
|
|
value - String!
|
Example
{
"key": "EFFECTIVE_TIME_SPENT",
"value": "abc123"
}
ProjectSummaryMetricKey
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
The term has been updated to row questions per line. Please use ROW_QUESTIONS_PER_LINE. |
|
|
The term has been updated to row and document questions answered per total questions. Please use ROW_QUESTIONS_ANSWERED_PER_TOTAL_QUESTIONS or DOCUMENT_QUESTIONS_ANSWERED_PER_TOTAL_QUESTIONS. |
|
|
|
|
|
|
|
|
|
|
|
Example
"EFFECTIVE_TIME_SPENT"
ProjectSummaryReport
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
metrics - [ProjectSummaryMetric!]!
|
Example
{"projectId": 4, "metrics": [ProjectSummaryMetric]}
ProjectTemplate
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
teamId - ID!
|
|
team - Team!
|
Will be removed in a future release. Please use teamId field and query getTeamDetail instead |
logoURL - String
|
|
projectTemplateProjectSettingId - ID!
|
|
projectTemplateTextDocumentSettingId - ID!
|
|
projectTemplateProjectSetting - ProjectTemplateProjectSetting!
|
|
projectTemplateTextDocumentSetting - ProjectTemplateTextDocumentSetting!
|
|
labelSetTemplates - [LabelSetTemplate]!
|
|
questionSets - [QuestionSet!]!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
purpose - ProjectPurpose!
|
|
creatorId - ID
|
Example
{
"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"
}
ProjectTemplateProjectSetting
Fields
| Field Name | Description |
|---|---|
autoMarkDocumentAsComplete - Boolean!
|
|
enableEditLabelSet - Boolean!
|
|
enableEditSentence - Boolean!
|
|
enableLabelerProjectCompletionNotificationThreshold - Boolean!
|
|
enableReviewerEditSentence - Boolean!
|
|
enablePrelabeledDraft - Boolean!
|
|
hideLabelerNamesDuringReview - Boolean!
|
|
hideLabelsFromInactiveLabelSetDuringReview - Boolean!
|
|
hideOriginalSentencesDuringReview - Boolean!
|
|
hideRejectedLabelsDuringReview - Boolean!
|
|
shouldConfirmUnusedLabelSetItems - Boolean!
|
|
labelerProjectCompletionNotificationThreshold - Int
|
|
selfAssignmentLimit - SelfAssignmentLimit!
|
Example
{
"autoMarkDocumentAsComplete": false,
"enableEditLabelSet": false,
"enableEditSentence": false,
"enableLabelerProjectCompletionNotificationThreshold": false,
"enableReviewerEditSentence": false,
"enablePrelabeledDraft": true,
"hideLabelerNamesDuringReview": true,
"hideLabelsFromInactiveLabelSetDuringReview": true,
"hideOriginalSentencesDuringReview": true,
"hideRejectedLabelsDuringReview": true,
"shouldConfirmUnusedLabelSetItems": false,
"labelerProjectCompletionNotificationThreshold": 987,
"selfAssignmentLimit": SelfAssignmentLimit
}
ProjectTemplateTextDocumentSetting
Fields
| Field Name | Description |
|---|---|
customScriptId - ID
|
Deprecated. Please use field fileTransformerId instead. No longer supported
|
fileTransformerId - ID
|
|
customTextExtractionAPIId - ID
|
|
sentenceSeparator - String!
|
|
mediaDisplayStrategy - MediaDisplayStrategy!
|
|
enableTabularMarkdownParsing - Boolean!
|
|
firstRowAsHeader - Boolean
|
|
displayedRows - Int!
|
|
kind - ProjectKind!
|
|
kinds - [ProjectKind!]
|
|
allTokensMustBeLabeled - Boolean!
|
|
allowArcDrawing - Boolean!
|
|
allowCharacterBasedLabeling - Boolean!
|
|
allowMultiLabels - Boolean!
|
|
textLabelMaxTokenLength - Int!
|
|
ocrMethod - TranscriptMethod
|
Please use field transcriptMethod instead.
|
transcriptMethod - TranscriptMethod
|
|
ocrProvider - OCRProvider
|
|
autoScrollWhenLabeling - Boolean!
|
|
tokenizer - String!
|
|
editSentenceTokenizer - String!
|
|
viewer - TextDocumentViewer
|
|
viewerConfig - TextDocumentViewerConfig
|
|
hideBoundingBoxIfNoSpanOrArrowLabel - Boolean!
|
|
enableAnonymization - Boolean!
|
|
anonymizationEntityTypes - [String!]
|
|
anonymizationMaskingMethod - String
|
|
anonymizationRegExps - [RegularExpression!]
|
Example
{
"customScriptId": 4,
"fileTransformerId": "4",
"customTextExtractionAPIId": "4",
"sentenceSeparator": "abc123",
"mediaDisplayStrategy": "NONE",
"enableTabularMarkdownParsing": false,
"firstRowAsHeader": true,
"displayedRows": 987,
"kind": "DOCUMENT_BASED",
"kinds": ["DOCUMENT_BASED"],
"allTokensMustBeLabeled": false,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"textLabelMaxTokenLength": 123,
"ocrMethod": "TRANSCRIPTION",
"transcriptMethod": "TRANSCRIPTION",
"ocrProvider": "APACHE_TIKA",
"autoScrollWhenLabeling": true,
"tokenizer": "abc123",
"editSentenceTokenizer": "abc123",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": false,
"enableAnonymization": true,
"anonymizationEntityTypes": ["abc123"],
"anonymizationMaskingMethod": "abc123",
"anonymizationRegExps": [RegularExpression]
}
ProjectTemplateType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CUSTOM"
ProjectTemplateV2
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
logoURL - String
|
|
projectTemplateProjectSettingId - ID!
|
|
projectTemplateTextDocumentSettingId - ID!
|
|
projectTemplateProjectSetting - ProjectTemplateProjectSetting!
|
|
projectTemplateTextDocumentSetting - ProjectTemplateTextDocumentSetting!
|
|
labelSetTemplates - [LabelSetTemplate]!
|
|
questionSets - [QuestionSet!]!
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
purpose - ProjectPurpose!
|
|
creatorId - ID
|
|
type - ProjectTemplateType!
|
|
description - String
|
|
imagePreviewURL - String
|
|
videoURL - String
|
Example
{
"id": "4",
"name": "xyz789",
"logoURL": "abc123",
"projectTemplateProjectSettingId": "4",
"projectTemplateTextDocumentSettingId": 4,
"projectTemplateProjectSetting": ProjectTemplateProjectSetting,
"projectTemplateTextDocumentSetting": ProjectTemplateTextDocumentSetting,
"labelSetTemplates": [LabelSetTemplate],
"questionSets": [QuestionSet],
"createdAt": "abc123",
"updatedAt": "abc123",
"purpose": "LABELING",
"creatorId": 4,
"type": "CUSTOM",
"description": "xyz789",
"imagePreviewURL": "abc123",
"videoURL": "abc123"
}
ProjectTopLabels
Fields
| Field Name | Description |
|---|---|
labelType - ProjectTopLabelsLabelType!
|
|
metrics - [ProjectTopLabelsMetric!]!
|
Example
{
"labelType": "SPAN_AND_ARROW",
"metrics": [ProjectTopLabelsMetric]
}
ProjectTopLabelsLabelType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
The term has been updated to row answer or document answer. Please use ROW_ANSWER or DOCUMENT_ANSWER. |
|
|
|
|
|
|
|
|
Example
"SPAN_AND_ARROW"
ProjectTopLabelsMetric
ProjectTopLabelsReport
Fields
| Field Name | Description |
|---|---|
projectId - ID!
|
|
topLabels - [ProjectTopLabels!]!
|
Example
{"projectId": 4, "topLabels": [ProjectTopLabels]}
ProjectUnusedLabelClassScalar
Example
ProjectUnusedLabelClassScalar
PromptTemplateCostPrediction
Fields
| Field Name | Description |
|---|---|
promptTemplateId - ID!
|
|
promptTemplateName - String!
|
|
modelName - String!
|
|
tokens - TokenUsages!
|
|
tokenUnitPrices - TokenUnitPrices!
|
|
tokenPrices - TokenPrices!
|
|
coveredByDatasaur - Boolean!
|
|
pricingUsageType - GqlPricingUsageType!
|
|
embeddingPricingUsageType - GqlPricingUsageType
|
Example
{
"promptTemplateId": 4,
"promptTemplateName": "xyz789",
"modelName": "xyz789",
"tokens": TokenUsages,
"tokenUnitPrices": TokenUnitPrices,
"tokenPrices": TokenPrices,
"coveredByDatasaur": false,
"pricingUsageType": "CHAR",
"embeddingPricingUsageType": "CHAR"
}
ProviderSetting
Example
ProviderSetting
ProviderSettingInput
Example
ProviderSettingInput
Question
Fields
| Field Name | Description |
|---|---|
id - Int!
|
|
internalId - String!
|
|
type - QuestionType!
|
|
name - String
|
Deprecated. Use label instead. Use label instead.
|
label - String!
|
|
required - Boolean!
|
|
config - QuestionConfig!
|
|
bindToColumn - String
|
|
activationConditionLogic - String
|
|
targetEntity - String!
|
Example
{
"id": 123,
"internalId": "xyz789",
"type": "DROPDOWN",
"name": "abc123",
"label": "abc123",
"required": true,
"config": QuestionConfig,
"bindToColumn": "xyz789",
"activationConditionLogic": "abc123",
"targetEntity": "xyz789"
}
QuestionConfig
Fields
| Field Name | Description |
|---|---|
defaultValue - String
|
|
format - String
|
|
multiple - Boolean
|
|
multiline - Boolean
|
|
options - [QuestionConfigOptions!]
|
|
leafOptionsOnly - Boolean
|
|
questions - [Question!]
|
|
minLength - Int
|
|
maxLength - Int
|
|
pattern - String
|
|
theme - SliderTheme
|
Legacy theming config. Please use gradientColors.
|
gradientColors - [String!]
|
|
min - Int
|
|
max - Int
|
|
step - Int
|
|
hint - String
|
|
hideScaleLabel - Boolean
|
|
customScript - CustomScript
|
Example
{
"defaultValue": "xyz789",
"format": "xyz789",
"multiple": false,
"multiline": true,
"options": [QuestionConfigOptions],
"leafOptionsOnly": false,
"questions": [Question],
"minLength": 123,
"maxLength": 123,
"pattern": "abc123",
"theme": "PLAIN",
"gradientColors": ["abc123"],
"min": 123,
"max": 123,
"step": 123,
"hint": "xyz789",
"hideScaleLabel": true,
"customScript": CustomScript
}
QuestionConfigInput
Fields
| Input Field | Description |
|---|---|
defaultValue - String
|
Applies for DATE, TIME. Possible value NOW |
format - String
|
Applies for DATE, TIME. Possible values for DATE are DD-MM-YYYY, MM-DD-YYYY, YYYY-MM-DD DD/MM/YYYY, MM/DD/YYYY and YYYY/MM/DD. Possible values for TIME are HH:mm:ss, HH:mm, HH.mm.ss, and HH.mm |
multiple - Boolean
|
Applies for TEXT, NESTED, DROPDOWN, HIERARCHICAL_DROPDOWN. Set it as true if you want to have multiple answers for this question. |
multiline - Boolean
|
Applies for TEXT. Set it as true if you want to enter long text. |
options - [QuestionConfigOptionsInput!]
|
Applies for Dropdown, HIERARCHICAL_DROPDOWN. |
leafOptionsOnly - Boolean
|
Applies for HIERARCHICAL_DROPDOWN. |
questions - [QuestionInput!]
|
Applies for NESTED. |
minLength - Int
|
Applies for TEXT. |
maxLength - Int
|
Applies for TEXT. |
pattern - String
|
Applies for TEXT. This field could have contain a regex string, which the browser natively uses for validation. E.g. [0-9]* |
theme - SliderTheme
|
Applies for SLIDER. Legacy theming config. Please use gradientColors.
|
gradientColors - [String!]
|
Applies for SLIDER. When defined, determines the gradation color for the slider track. |
min - Int
|
Applies for SLIDER. |
max - Int
|
Applies for SLIDER. |
step - Int
|
Applies for SLIDER. |
hideScaleLabel - Boolean
|
Applies for SLIDER. If true, hides the slider scale label in labeler mode. |
hint - String
|
Applies for every question type. The provided hint will be shown in the UI. Supports markdown syntax (bold, italic, link, bullets (- or *), and numbering (1., 2., 3., ...)). |
customScript - CustomScriptInput
|
Applies for SCRIPT_GENERATED. A script written in TypeScript to generate questions based on the provided row data. |
Example
{
"defaultValue": "abc123",
"format": "abc123",
"multiple": true,
"multiline": false,
"options": [QuestionConfigOptionsInput],
"leafOptionsOnly": false,
"questions": [QuestionInput],
"minLength": 123,
"maxLength": 987,
"pattern": "abc123",
"theme": "PLAIN",
"gradientColors": ["xyz789"],
"min": 987,
"max": 987,
"step": 987,
"hideScaleLabel": false,
"hint": "xyz789",
"customScript": CustomScriptInput
}
QuestionConfigOptions
QuestionConfigOptionsInput
QuestionInput
Fields
| Input Field | Description |
|---|---|
id - Int
|
Only for update. |
name - String
|
Deprecated. Use label instead. Use label instead.
|
label - String
|
The question title or description that will be shown to the labeler. |
required - Boolean
|
This marks whether the question is required to be answered or not. |
delete - Boolean
|
DEPRECATED: No longer used. This value will be ignored. No longer used. This value will be ignored. |
type - QuestionType
|
How a question will be asked. |
config - QuestionConfigInput
|
Detail configuration based on the question type. |
bindToColumn - String
|
Specific for Row Labeling. Bind the answer to a specific column from the input file. |
activationConditionLogic - String
|
Conditional for dynamic question set. For example, "questionAnswer[0]==='true'" will make this question only shown if the first question is true. |
Example
{
"id": 123,
"name": "abc123",
"label": "abc123",
"required": true,
"delete": true,
"type": "DROPDOWN",
"config": QuestionConfigInput,
"bindToColumn": "xyz789",
"activationConditionLogic": "abc123"
}
QuestionSet
Fields
| Field Name | Description |
|---|---|
name - String!
|
|
id - ID!
|
|
creator - User
|
|
items - [QuestionSetItem!]!
|
|
kinds - [ProjectKind!]
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"name": "xyz789",
"id": "4",
"creator": User,
"items": [QuestionSetItem],
"kinds": ["DOCUMENT_BASED"],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
QuestionSetItem
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
index - Int!
|
|
questionSetId - String!
|
|
label - String!
|
|
type - QuestionType!
|
|
hint - String
|
|
multipleAnswer - Boolean
|
|
required - Boolean!
|
|
bindToColumn - String
|
|
activationConditionLogic - String
|
|
createdAt - String!
|
|
updatedAt - String!
|
|
options - [DropdownConfigOptions!]
|
|
leafOptionsOnly - Boolean
|
|
format - String
|
|
defaultValue - DateTimeDefaultValue
|
|
max - Int
|
|
min - Int
|
|
theme - SliderTheme
|
Legacy theming config. Please use gradientColors.
|
gradientColors - [String!]
|
|
step - Int
|
|
hideScaleLabel - Boolean
|
|
multiline - Boolean
|
|
maxLength - Int
|
|
minLength - Int
|
|
pattern - String
|
|
customScript - CustomScript
|
|
nestedQuestions - [QuestionSetItem!]
|
|
parentId - ID
|
Example
{
"id": "4",
"index": 123,
"questionSetId": "abc123",
"label": "abc123",
"type": "DROPDOWN",
"hint": "xyz789",
"multipleAnswer": false,
"required": true,
"bindToColumn": "abc123",
"activationConditionLogic": "abc123",
"createdAt": "abc123",
"updatedAt": "xyz789",
"options": [DropdownConfigOptions],
"leafOptionsOnly": true,
"format": "xyz789",
"defaultValue": "NOW",
"max": 123,
"min": 123,
"theme": "PLAIN",
"gradientColors": ["xyz789"],
"step": 987,
"hideScaleLabel": true,
"multiline": true,
"maxLength": 987,
"minLength": 123,
"pattern": "abc123",
"customScript": CustomScript,
"nestedQuestions": [QuestionSetItem],
"parentId": 4
}
QuestionSetItemInput
Fields
| Input Field | Description |
|---|---|
label - String!
|
|
type - QuestionType!
|
|
required - Boolean
|
|
activationConditionLogic - String
|
|
config - QuestionSetItemInputConfig!
|
Example
{
"label": "xyz789",
"type": "DROPDOWN",
"required": false,
"activationConditionLogic": "abc123",
"config": QuestionSetItemInputConfig
}
QuestionSetItemInputConfig
Fields
| Input Field | Description |
|---|---|
options - [DropdownConfigOptionsInput!]
|
|
leafOptionsOnly - Boolean
|
|
questions - [QuestionSetItemInput!]
|
|
format - String
|
|
defaultValue - String
|
|
max - Int
|
|
min - Int
|
|
theme - SliderTheme
|
Legacy theming config. Please use gradientColors.
|
gradientColors - [String!]
|
|
step - Int
|
|
hideScaleLabel - Boolean
|
|
multiline - Boolean
|
|
maxLength - Int
|
|
minLength - Int
|
|
pattern - String
|
|
hint - String
|
|
multiple - Boolean
|
|
customScript - CustomScriptInput
|
Example
{
"options": [DropdownConfigOptionsInput],
"leafOptionsOnly": true,
"questions": [QuestionSetItemInput],
"format": "xyz789",
"defaultValue": "abc123",
"max": 987,
"min": 987,
"theme": "PLAIN",
"gradientColors": ["xyz789"],
"step": 987,
"hideScaleLabel": true,
"multiline": true,
"maxLength": 123,
"minLength": 123,
"pattern": "abc123",
"hint": "abc123",
"multiple": false,
"customScript": CustomScriptInput
}
QuestionSetTemplate
QuestionSetTemplateInput
QuestionType
Description
See this documentation for further information.
Values
| Enum Value | Description |
|---|---|
|
|
This type provides a dropdown with multiple options. |
|
|
This type provides a dropdown with hierarchical options. |
|
|
This type provides a group of checkboxes. |
|
|
You can create nested questions. Questions inside a question by using this type. |
|
|
This type provides a text area. |
|
|
This type provides a slider with customizeable minimum value and maximum value. |
|
|
This type provides a date picker. |
|
|
This type provides a time picker. |
|
|
This type provides a checkbox. Shown as "True/False" in the UI. |
|
|
This type provides a URL field. |
|
|
This type provides a radio group. Shown as "Single Choice" in the UI. |
|
|
This type provides a set of questions that is genereated by a script. |
|
|
No longer used. Do not use this value. |
|
|
No longer used. Do not use this value. |
Example
"DROPDOWN"
Range
Example
Range
RangeInput
RangePageInput
ReadChunkInput
RecalculateBBoxLabelsShapesHashInput
RedactCellsInput
Fields
| Input Field | Description |
|---|---|
cellPositions - [CellPositionWithOriginDocumentIdInput!]!
|
Example
{"cellPositions": [CellPositionWithOriginDocumentIdInput]}
RegenerateValidationType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"RECOVERY_CODE"
RegularExpression
RegularExpressionInput
RejectedLabel
Fields
| Field Name | Description |
|---|---|
label - TextLabel!
|
|
reason - String!
|
Example
{
"label": TextLabel,
"reason": "xyz789"
}
RemainingFilesStatistic
RemovePersonalTagsInput
Fields
| Input Field | Description |
|---|---|
tagIds - [ID!]!
|
Example
{"tagIds": [4]}
RemoveTagsInput
RemoveTagsResult
Fields
| Field Name | Description |
|---|---|
tagId - ID!
|
Example
{"tagId": 4}
RemoveTeamMemberInput
Description
Deprecated. Please use RemoveTeamMembersInput instead
Fields
| Input Field | Description |
|---|---|
teamMemberId - ID!
|
Example
{"teamMemberId": "4"}
RemoveTeamMembersInput
ReplicateTeamProjectInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
teamId - ID!
|
|
documentAssignments - [DocumentAssignmentInput!]
|
Example
{
"projectId": "4",
"teamId": "4",
"documentAssignments": [DocumentAssignmentInput]
}
RequestDemo
Example
{
"email": "abc123",
"givenName": "xyz789",
"surname": "xyz789",
"company": "xyz789",
"numberOfLabelers": 987,
"name": "xyz789",
"gclid": "abc123",
"fbclid": "xyz789",
"utmSource": "abc123",
"desiredLabelingFeature": "xyz789"
}
RequestDemoInput
Fields
| Input Field | Description |
|---|---|
email - String!
|
|
givenName - String!
|
|
surname - String!
|
|
company - String!
|
|
numberOfLabelers - Int!
|
|
name - String
|
Please use givenName and surname instead. |
recaptcha - String
|
|
gclid - String
|
|
fbclid - String
|
|
utmSource - String
|
|
desiredLabelingFeature - String
|
|
requireCaptcha - Boolean!
|
Example
{
"email": "abc123",
"givenName": "abc123",
"surname": "xyz789",
"company": "xyz789",
"numberOfLabelers": 123,
"name": "xyz789",
"recaptcha": "xyz789",
"gclid": "abc123",
"fbclid": "xyz789",
"utmSource": "xyz789",
"desiredLabelingFeature": "abc123",
"requireCaptcha": false
}
RequestResetPasswordInput
ResetLabelingWorkResult
Fields
| Field Name | Description |
|---|---|
job - Job!
|
Example
{"job": Job}
ResetPasswordInput
Fields
| Input Field | Description |
|---|---|
signature - String!
|
|
password - String!
|
|
passwordConfirmation - String!
|
|
totpCode - TotpCodeInput
|
Example
{
"signature": "abc123",
"password": "abc123",
"passwordConfirmation": "abc123",
"totpCode": TotpCodeInput
}
ReversedLabels
Fields
| Field Name | Description |
|---|---|
document - TextDocumentScalar!
|
|
reversedLabels - [TextLabelScalar!]!
|
|
reversedLabelsCount - Int!
|
|
replacedReversedLabels - [TextLabelScalar!]!
|
|
replacedReversedLabelsCount - Int!
|
|
replacementLabels - [TextLabelScalar!]!
|
|
replacementLabelsCount - Int!
|
Example
{
"document": TextDocumentScalar,
"reversedLabels": [TextLabelScalar],
"reversedLabelsCount": 123,
"replacedReversedLabels": [TextLabelScalar],
"replacedReversedLabelsCount": 987,
"replacementLabels": [TextLabelScalar],
"replacementLabelsCount": 987
}
ReversedLabelsJob
Fields
| Field Name | Description |
|---|---|
job - Job!
|
Example
{"job": Job}
ReversedLabelsOperationInput
ReviewingStatus
Fields
| Field Name | Description |
|---|---|
isCompleted - Boolean!
|
|
statistic - ReviewingStatusStatistic!
|
Example
{
"isCompleted": true,
"statistic": ReviewingStatusStatistic
}
ReviewingStatusStatistic
Role
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"REVIEWER"
RowAnalyticEvent
Fields
| Field Name | Description |
|---|---|
cell - RowAnalyticEventCell!
|
|
createdAt - String!
|
|
event - RowAnalyticEventType!
|
|
id - String!
|
|
user - RowAnalyticEventUser!
|
Example
{
"cell": RowAnalyticEventCell,
"createdAt": "xyz789",
"event": "ROW_HIGHLIGHTED",
"id": "xyz789",
"user": RowAnalyticEventUser
}
RowAnalyticEventCell
Fields
| Field Name | Description |
|---|---|
line - Int!
|
|
index - Int!
|
|
content - String!
|
|
status - CellStatus!
|
|
conflict - Boolean!
|
|
document - RowAnalyticEventDocument!
|
Example
{
"line": 987,
"index": 123,
"content": "xyz789",
"status": "DISPLAYED",
"conflict": false,
"document": RowAnalyticEventDocument
}
RowAnalyticEventDocument
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
fileName - String!
|
|
project - RowAnalyticEventProject!
|
Example
{
"id": "4",
"fileName": "abc123",
"project": RowAnalyticEventProject
}
RowAnalyticEventInput
Fields
| Input Field | Description |
|---|---|
cursor - String
|
|
page - CursorPageInput
|
|
filter - RowAnalyticEventInputFilter!
|
|
sort - [SortInput!]
|
Example
{
"cursor": "abc123",
"page": CursorPageInput,
"filter": RowAnalyticEventInputFilter,
"sort": [SortInput]
}
RowAnalyticEventInputFilter
RowAnalyticEventPaginatedResponse
Fields
| Field Name | Description |
|---|---|
totalCount - Int!
|
|
pageInfo - PageInfo!
|
|
nodes - [RowAnalyticEvent!]!
|
Example
{
"totalCount": 123,
"pageInfo": PageInfo,
"nodes": [RowAnalyticEvent]
}
RowAnalyticEventProject
RowAnalyticEventType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ROW_HIGHLIGHTED"
RowAnalyticEventUser
RowAnswer
Fields
| Field Name | Description |
|---|---|
documentId - ID!
|
|
line - Int!
|
|
answers - AnswerScalar!
|
|
metadata - [AnswerMetadata!]!
|
|
updatedAt - DateTime
|
Example
{
"documentId": 4,
"line": 123,
"answers": AnswerScalar,
"metadata": [AnswerMetadata],
"updatedAt": "2007-12-03T10:15:30Z"
}
RowAnswerAdditionalData
RowAnswerConflicts
Fields
| Field Name | Description |
|---|---|
line - Int!
|
|
conflicts - [ConflictAnswerScalar!]!
|
|
conflictStatus - AnswerSetConflictStatus!
|
Example
{
"line": 123,
"conflicts": [ConflictAnswerScalar],
"conflictStatus": "CONFLICT"
}
RowAnswersInput
Fields
| Input Field | Description |
|---|---|
line - Int!
|
|
answers - AnswerScalar!
|
|
metadata - [AnswerMetadataInput!]
|
Example
{
"line": 987,
"answers": AnswerScalar,
"metadata": [AnswerMetadataInput]
}
RowBasedDocumentSettingsInput
Description
Configuration for Row Labeling projects.
Fields
| Input Field | Description |
|---|---|
mediaDisplayStrategy - MediaDisplayStrategy
|
Default to NONE. |
displayedRows - Int
|
Default to -1, to display all rows in editor. |
rowQuestionsFormValidationScriptId - ID
|
Optional. Accepts Custom Script ID. |
enableRowQuestionsFormValidationScript - Boolean
|
Optional. Set to false to disable row questions form validation script when already configured. Default to true. |
Example
{
"mediaDisplayStrategy": "NONE",
"displayedRows": 123,
"rowQuestionsFormValidationScriptId": "4",
"enableRowQuestionsFormValidationScript": false
}
RowCellInput
RowFinalReport
Fields
| Field Name | Description |
|---|---|
line - Int!
|
|
finalReport - FinalReport!
|
Example
{"line": 987, "finalReport": FinalReport}
RowModificationSetting
SCIMGroupMapRole
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"LABELER"
SamlRedirectResult
Fields
| Field Name | Description |
|---|---|
samlTenant - SamlTenant!
|
|
redirectUrl - String!
|
Example
{
"samlTenant": SamlTenant,
"redirectUrl": "abc123"
}
SamlTenant
Example
{
"id": "4",
"active": false,
"companyId": 4,
"idpIssuer": "abc123",
"idpUrl": "abc123",
"spIssuer": "abc123",
"team": Team,
"allowMembersToSetPassword": true
}
SaveGeneralWorkspaceSettingsInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
settings - GeneralWorkspaceSettingsInput!
|
Example
{
"projectId": 4,
"settings": GeneralWorkspaceSettingsInput
}
SaveOCRContentPositionMapsInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
|
maps - OCRContentPositionMapsInput!
|
Example
{"documentId": 4, "maps": OCRContentPositionMapsInput}
SaveProjectWorkspaceSettingsInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
settings - TextDocumentSettingsInput!
|
Example
{"projectId": 4, "settings": TextDocumentSettingsInput}
SaveSearchInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
name - String!
|
|
description - String
|
|
type - SearchType!
|
|
conditions - String!
|
Example
{
"projectId": 4,
"name": "abc123",
"description": "xyz789",
"type": "STANDARD",
"conditions": "xyz789"
}
SavedSearch
Example
{
"id": "4",
"owner": User,
"lastModifiedBy": User,
"name": "xyz789",
"description": "xyz789",
"type": "STANDARD",
"conditions": "xyz789",
"projectId": 4,
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
ScheduledCommandConfig
Example
{
"id": "4",
"cronPattern": CronExpression,
"repeatInterval": 123,
"runImmediately": false,
"endTime": "xyz789",
"numberOfRepetition": 987,
"isNeverEnding": false,
"isPeriodic": false,
"updatedAt": "abc123"
}
Scim
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
team - Team!
|
|
samlTenant - SamlTenant!
|
|
active - Boolean!
|
Example
{
"id": "4",
"team": Team,
"samlTenant": SamlTenant,
"active": true
}
ScimGroup
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
team - Team!
|
|
scim - Scim!
|
|
groupName - String!
|
|
role - SCIMGroupMapRole!
|
Example
{
"id": "4",
"team": Team,
"scim": Scim,
"groupName": "xyz789",
"role": "LABELER"
}
ScimGroupInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
scimId - ID!
|
|
mapping - [ScimGroupMapping!]!
|
Example
{
"teamId": "4",
"scimId": "4",
"mapping": [ScimGroupMapping]
}
ScimGroupMapping
Fields
| Input Field | Description |
|---|---|
groupName - String!
|
|
role - SCIMGroupMapRole!
|
Example
{"groupName": "xyz789", "role": "LABELER"}
SearchHistoryKeyword
SearchType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"STANDARD"
SelfAssignInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
documentAmount - Int!
|
|
role - ProjectAssignmentRole
|
Example
{"projectId": 4, "documentAmount": 987, "role": "LABELER"}
SelfAssignmentDocumentLimit
SelfAssignmentDocumentLimitInput
SelfAssignmentLimit
Fields
| Field Name | Description |
|---|---|
documentLimit - SelfAssignmentDocumentLimit!
|
|
timeLimit - SelfAssignmentTimeLimit!
|
Example
{
"documentLimit": SelfAssignmentDocumentLimit,
"timeLimit": SelfAssignmentTimeLimit
}
SelfAssignmentLimitInput
Fields
| Input Field | Description |
|---|---|
documentLimit - SelfAssignmentDocumentLimitInput
|
|
timeLimit - SelfAssignmentTimeLimitInput
|
Example
{
"documentLimit": SelfAssignmentDocumentLimitInput,
"timeLimit": SelfAssignmentTimeLimitInput
}
SelfAssignmentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"PARTIAL"
SelfAssignmentTimeLimit
SelfAssignmentTimeLimitInput
SelfUnassignInput
SentenceConflict
Fields
| Field Name | Description |
|---|---|
resolved - Boolean!
|
|
resolvingLabelerId - Int
|
|
sentences - [SentenceConflictObject!]!
|
Example
{
"resolved": false,
"resolvingLabelerId": 987,
"sentences": [SentenceConflictObject]
}
SentenceConflictObject
Fields
| Field Name | Description |
|---|---|
labelerId - Int!
|
|
status - TextSentenceStatus
|
|
content - String!
|
|
tokens - [String!]!
|
|
posLabels - [TextLabel!]!
|
|
docLabels - [DocLabelObject!]
|
Example
{
"labelerId": 123,
"status": "DELETED",
"content": "xyz789",
"tokens": ["xyz789"],
"posLabels": [TextLabel],
"docLabels": [DocLabelObject]
}
Settings
Fields
| Field Name | Description |
|---|---|
textLang - String
|
Example
{"textLang": "xyz789"}
SettingsInput
Fields
| Input Field | Description |
|---|---|
textLang - String
|
Optional. Default is en. |
documentMeta - [DocumentMetaInput!]
|
Optional |
questions - [QuestionInput!]
|
Required |
Example
{
"textLang": "xyz789",
"documentMeta": [DocumentMetaInput],
"questions": [QuestionInput]
}
SignUpMethod
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EMAIL_PASSWORD"
SignUpParams
SignUpParamsInput
Fields
| Input Field | Description |
|---|---|
signUpApp - DatasaurApp
|
Optional. For campaign tracking purposes only. Used to track the application from which the user signed up, either the NLP or the LLM app. |
utmSource - String
|
Optional. For campaign tracking purposes only. Identifies the source of the traffic, such as search engines or newsletters. |
utmMedium - String
|
Optional. For campaign tracking purposes only. Identifies the medium in which the link was used. |
utmCampaign - String
|
Optional. For campaign tracking purposes only. Identifies the name of the campaign. |
linkSource - String
|
Optional. For campaign tracking purposes only. Identifies sign up link sources. |
Example
{
"signUpApp": "NLP",
"utmSource": "abc123",
"utmMedium": "abc123",
"utmCampaign": "abc123",
"linkSource": "abc123"
}
SliderTheme
Values
| Enum Value | Description |
|---|---|
|
|
Default slider theme |
|
|
Slider with multiple colors theme; Red, yellow, green |
Example
"PLAIN"
Snapshot
Description
Read-only copy of relevant data captured during action execution
Example
Snapshot
SortInput
Fields
| Input Field | Description |
|---|---|
field - String!
|
The name of the field to sort the resources by. For details of the supported fields, refer to the documentation of each paginated query's input. Example paginated query input: Values other than the supported fields will be ignored. |
order - OrderType!
|
The order to sort the resources by. One of [ASC, DESC]. |
Example
{"field": "abc123", "order": "ASC"}
SpendingThreshold
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID!
|
|
amount - Float!
|
|
currency - String!
|
|
thresholdType - GqlSpendingThresholdType!
|
|
thresholdEvent - GqlSpendingThresholdEvent!
|
|
createdAt - DateTime!
|
|
updatedAt - DateTime!
|
Example
{
"id": "4",
"teamId": "4",
"amount": 123.45,
"currency": "xyz789",
"thresholdType": "MONTHLY",
"thresholdEvent": "NOTIFY_AND_RESTRICT",
"createdAt": "2007-12-03T10:15:30Z",
"updatedAt": "2007-12-03T10:15:30Z"
}
SpendingThresholdStatus
Fields
| Field Name | Description |
|---|---|
isExceeded - Boolean!
|
|
spendingThreshold - SpendingThreshold!
|
|
currentSpendingAmount - Float!
|
|
currentSpendingCurrency - String!
|
Example
{
"isExceeded": true,
"spendingThreshold": SpendingThreshold,
"currentSpendingAmount": 123.45,
"currentSpendingCurrency": "abc123"
}
SplitChunkInput
SplitChunkResponse
Fields
| Field Name | Description |
|---|---|
splitChunks - [DocumentChunk!]!
|
|
previousChunk - DocumentChunk
|
|
nextChunk - DocumentChunk
|
Example
{
"splitChunks": [DocumentChunk],
"previousChunk": DocumentChunk,
"nextChunk": DocumentChunk
}
SplitDocumentOptionInput
Fields
| Input Field | Description |
|---|---|
strategy - SplitDocumentStrategy!
|
Required. The split strategy. |
number - Int!
|
Required. Depends on strategy. If
|
Example
{"strategy": "BY_PARTS", "number": 123}
SplitDocumentStrategy
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"BY_PARTS"
SpotChecking
SpotCheckingInput
Description
Spot checking configuration. Only available if the project's settings have conflictResolution.mode: "MANUAL".
Example
{"enabled": false, "percentageThreshold": 987.65}
StartDatasaurDinamicRowBasedTrainingJobInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
documentId - ID!
|
|
questionColumnId - Int!
|
|
inputColumnIds - [Int!]!
|
|
provider - DatasaurDinamicRowBasedProvider!
|
|
providerSetting - ProviderSettingInput!
|
|
role - Role!
|
Example
{
"projectId": "4",
"documentId": 4,
"questionColumnId": 123,
"inputColumnIds": [123],
"provider": "HUGGINGFACE",
"providerSetting": ProviderSettingInput,
"role": "REVIEWER"
}
StartDatasaurDinamicTokenBasedTrainingJobInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
documentId - ID!
|
|
targetLabelSetIndex - Int!
|
|
provider - DatasaurDinamicTokenBasedProvider!
|
|
providerSetting - ProviderSettingInput!
|
|
role - Role!
|
Example
{
"projectId": "4",
"documentId": "4",
"targetLabelSetIndex": 123,
"provider": "HUGGINGFACE",
"providerSetting": ProviderSettingInput,
"role": "REVIEWER"
}
StartDatasaurPredictiveTrainingJobInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
documentId - ID!
|
|
questionColumnId - Int!
|
|
inputColumnIds - [Int!]!
|
|
provider - DatasaurPredictiveProvider!
|
|
providerSetting - ProviderSettingInput
|
|
role - Role!
|
Example
{
"projectId": "4",
"documentId": "4",
"questionColumnId": 987,
"inputColumnIds": [987],
"provider": "SETFIT",
"providerSetting": ProviderSettingInput,
"role": "REVIEWER"
}
StartExtensionTrialInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
extensionId - ExtensionID!
|
Example
{"teamId": 4, "extensionId": "AUTO_LABEL_TOKEN_EXTENSION_ID"}
StartLabelErrorDetectionRowBasedJobInput
StatisticItem
Fields
| Field Name | Description |
|---|---|
key - String!
|
|
values - [StatisticItemValue!]!
|
Example
{
"key": "abc123",
"values": [StatisticItemValue]
}
StatisticItemValue
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"abc123"
Tag
TagItem
Fields
| Field Name | Description |
|---|---|
id - String!
|
Unique identifier of the labelset item. |
parentId - ID
|
Parent item ID. Used in hierarchical labelsets. |
tagName - String!
|
Labelset item name, displayed in web UI. Case insensitive. |
desc - String
|
|
color - String
|
6 digit hex string, prefixed by #. Example: #df3920. |
type - LabelClassType!
|
Can be SPAN, ARROW, or ALL. Defaults to ALL. |
arrowRules - [LabelClassArrowRule!]
|
Only has effect if type is ARROW. |
Example
{
"id": "xyz789",
"parentId": 4,
"tagName": "xyz789",
"desc": "abc123",
"color": "xyz789",
"type": "SPAN",
"arrowRules": [LabelClassArrowRule]
}
TagItemInput
Fields
| Input Field | Description |
|---|---|
id - String!
|
Required. Unique identifier for the labelset item. |
parentId - ID
|
Optional. Parent item's ID. Used in hierarchical labelsets. |
tagName - String!
|
Required. The text to be displayed in the web UI. |
desc - String
|
Optional. Description of the labelset item. |
color - String
|
Optional. 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
{
"id": "xyz789",
"parentId": "4",
"tagName": "xyz789",
"desc": "abc123",
"color": "xyz789",
"type": "SPAN",
"arrowRules": [LabelClassArrowRuleInput]
}
TargetApiInput
TaskCompletedInput
Team
Fields
| Field Name | Description |
|---|---|
id - ID!
|
Team.id can be seen in web UI, visible in the URL (https://datasaur.ai/teams/{teamId}/...), or obtained via getAllTeams.
|
logoURL - String
|
|
members - [TeamMember!]
|
Please use membersScalar instead |
membersScalar - TeamMembersScalar
|
|
name - String!
|
|
setting - TeamSetting
|
|
owner - User
|
|
isExpired - Boolean!
|
|
expiredAt - DateTime
|
Example
{
"id": 4,
"logoURL": "xyz789",
"members": [TeamMember],
"membersScalar": TeamMembersScalar,
"name": "abc123",
"setting": TeamSetting,
"owner": User,
"isExpired": false,
"expiredAt": "2007-12-03T10:15:30Z"
}
TeamActionNames
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"MANAGE_EXTERNAL_PROVIDER"
TeamActivityProviderName
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DATABASE"
TeamActivityReportProviderName
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DATABASE"
TeamActivitySettings
Fields
| Field Name | Description |
|---|---|
readSource - TeamActivityReportProviderName
|
|
writeTargets - [TeamActivityProviderName!]
|
Example
{"readSource": "DATABASE", "writeTargets": ["DATABASE"]}
TeamApiKey
TeamApiKeyInput
TeamExternalApiKey
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID!
|
|
credentials - [TeamExternalApiKeyCredential!]!
|
|
createdAt - String!
|
|
updatedAt - String!
|
Example
{
"id": 4,
"teamId": "4",
"credentials": [TeamExternalApiKeyCredential],
"createdAt": "abc123",
"updatedAt": "xyz789"
}
TeamExternalApiKeyCredential
Fields
| Field Name | Description |
|---|---|
provider - GqlLlmModelProvider!
|
|
isConnected - Boolean!
|
|
openAIKey - String
|
|
azureOpenAIKey - String
|
Use the new Azure AI Integration instead |
azureOpenAIEndpoint - String
|
|
azureAIClientId - String
|
|
azureAICertificate - String
|
|
azureAITenantId - String
|
|
azureAISubscriptionId - String
|
|
azureAIResourceGroupName - String
|
|
azureAIAccountName - String
|
|
awsSagemakerRegion - String
|
|
awsSagemakerExternalId - String
|
|
awsSagemakerRoleArn - String
|
|
awsBedrockRegion - String
|
|
awsBedrockExternalId - String
|
|
awsBedrockRoleArn - String
|
|
vertexAiClientEmail - String
|
|
vertexAiPrivateKey - String
|
|
vertexAiProjectId - String
|
|
vertexAiRegion - String
|
Example
{
"provider": "AMAZON_BEDROCK",
"isConnected": true,
"openAIKey": "abc123",
"azureOpenAIKey": "abc123",
"azureOpenAIEndpoint": "xyz789",
"azureAIClientId": "xyz789",
"azureAICertificate": "xyz789",
"azureAITenantId": "abc123",
"azureAISubscriptionId": "abc123",
"azureAIResourceGroupName": "abc123",
"azureAIAccountName": "xyz789",
"awsSagemakerRegion": "xyz789",
"awsSagemakerExternalId": "abc123",
"awsSagemakerRoleArn": "abc123",
"awsBedrockRegion": "xyz789",
"awsBedrockExternalId": "xyz789",
"awsBedrockRoleArn": "xyz789",
"vertexAiClientEmail": "abc123",
"vertexAiPrivateKey": "abc123",
"vertexAiProjectId": "abc123",
"vertexAiRegion": "xyz789"
}
TeamExternalApiKeyDisconnectInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
provider - GqlLlmModelProvider!
|
|
undeployModels - Boolean
|
Example
{"teamId": 4, "provider": "AMAZON_BEDROCK", "undeployModels": false}
TeamExternalApiKeyInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
openAIKey - String
|
|
provider - GqlLlmModelProvider!
|
|
azureOpenAIKey - String
|
Use the new Azure AI Integration instead |
azureOpenAIEndpoint - String
|
Use the new Azure AI Integration instead |
azureAIClientId - String
|
|
azureAICertificate - String
|
|
azureAITenantId - String
|
|
azureAISubscriptionId - String
|
|
azureAIResourceGroupName - String
|
|
azureAIAccountName - String
|
|
awsSagemakerRegion - String
|
|
awsSagemakerExternalId - String
|
|
awsSagemakerRoleArn - String
|
|
awsBedrockRegion - String
|
|
awsBedrockExternalId - String
|
|
awsBedrockRoleArn - String
|
|
vertexAiProjectId - String
|
|
vertexAiClientEmail - String
|
|
vertexAiPrivateKey - String
|
|
vertexAiRegion - String
|
Example
{
"teamId": 4,
"openAIKey": "abc123",
"provider": "AMAZON_BEDROCK",
"azureOpenAIKey": "abc123",
"azureOpenAIEndpoint": "xyz789",
"azureAIClientId": "abc123",
"azureAICertificate": "xyz789",
"azureAITenantId": "abc123",
"azureAISubscriptionId": "abc123",
"azureAIResourceGroupName": "xyz789",
"azureAIAccountName": "xyz789",
"awsSagemakerRegion": "abc123",
"awsSagemakerExternalId": "xyz789",
"awsSagemakerRoleArn": "xyz789",
"awsBedrockRegion": "abc123",
"awsBedrockExternalId": "abc123",
"awsBedrockRoleArn": "xyz789",
"vertexAiProjectId": "abc123",
"vertexAiClientEmail": "abc123",
"vertexAiPrivateKey": "xyz789",
"vertexAiRegion": "abc123"
}
TeamInvitationLink
Example
{
"id": "4",
"teamId": "4",
"createdByUserId": "4",
"invitationKey": "xyz789",
"expiredAt": "xyz789",
"createdAt": "abc123",
"updatedAt": "xyz789"
}
TeamInvitationLinkVerificationResult
TeamMember
Example
{
"id": 4,
"user": User,
"role": TeamRole,
"invitationEmail": "abc123",
"invitationStatus": "abc123",
"invitationKey": "xyz789",
"isDeleted": true,
"joinedDate": "abc123",
"performance": TeamMemberPerformance,
"labelingAgent": LabelingAgent,
"labelingAgentId": 4
}
TeamMemberInput
Fields
| Input Field | Description |
|---|---|
email - String!
|
|
role - TeamMemberRole
|
Example
{"email": "xyz789", "role": "ADMIN"}
TeamMemberPerformance
Example
{
"id": "4",
"userId": 123,
"projectStatistic": TeamMemberProjectStatistic,
"totalTimeSpent": 987,
"effectiveTotalTimeSpent": 123,
"accuracy": 987.65
}
TeamMemberProjectStatistic
TeamMemberRole
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ADMIN"
TeamMemberRoleFilter
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ADMIN"
TeamMembersScalar
Example
TeamMembersScalar
TeamOnboarding
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
teamId - ID!
|
|
state - TeamOnboardingState!
|
|
version - Int!
|
|
tasks - [TeamOnboardingTask!]
|
Example
{
"id": 4,
"teamId": 4,
"state": "NOT_OPENED",
"version": 987,
"tasks": [TeamOnboardingTask]
}
TeamOnboardingState
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"NOT_OPENED"
TeamOnboardingTask
TeamRole
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - TeamMemberRole!
|
Example
{"id": 4, "name": "ADMIN"}
TeamSetting
Fields
| Field Name | Description |
|---|---|
activitySettings - TeamActivitySettings
|
|
additionalSetting - AdditionalTeamSetting
|
|
allowedAdminExportMethods - [GqlExportMethod!]!
|
No longer supported |
allowedLabelerExportMethods - [GqlExportMethod!]!
|
|
allowedOCRProviders - [OCRProvider!]!
|
|
allowedASRProviders - [ASRProvider!]!
|
|
allowedReviewerExportMethods - [GqlExportMethod!]!
|
|
commentNotificationType - CommentNotificationType!
|
|
customAPICreationLimit - Int!
|
|
defaultCustomTextExtractionAPIId - ID
|
|
defaultExternalObjectStorageId - ID
|
|
enabledCustomObjectStorage - [ObjectStorageClientName!]!
|
|
enableActions - Boolean!
|
|
enableAddDocumentsToProject - Boolean!
|
|
enableDemo - Boolean!
|
|
enableDataProgramming - Boolean!
|
|
enableLabelingFunctionMultipleLabel - Boolean!
|
No longer supported |
enableDatasaurAssistRowBased - Boolean!
|
|
enableDatasaurDinamicTokenBased - Boolean!
|
|
enableDatasaurPredictiveRowBased - Boolean!
|
|
enableLabelingAgentSpanBased - Boolean!
|
|
enableWipeData - Boolean!
|
|
enableExportTeamOverview - Boolean!
|
|
enableSelfAssignment - Boolean!
|
|
enableTransferOwnership - Boolean!
|
|
enableLabelErrorDetectionRowBased - Boolean!
|
|
allowedExtraAutoLabelProviders - [GqlAutoLabelServiceProvider]!
|
|
enableLLMProject - Boolean
|
|
enableRegexSentenceSeparator - Boolean!
|
|
enableTeamRoleSupervisor - Boolean!
|
|
endExtensionTrialAt - DateTime
|
|
allowInvalidPaymentMethod - Boolean!
|
|
enableExternalKnowledgeBase - Boolean
|
|
enableForceAnonymization - Boolean!
|
|
enableReviewIndicator - Boolean
|
|
enableValidationScript - Boolean!
|
|
enableSpanLabelingWithRowQuestions - Boolean!
|
|
llmFreeTrialDailyLimitsConfig - LlmFreeTrialDailyLimitsConfig
|
|
enableScriptGeneratedQuestion - Boolean!
|
|
rowModification - RowModificationSetting
|
|
enableDeployedApplicationLogging - Boolean!
|
|
enableRealTimeAssistedLabelingSpanBased - Boolean!
|
|
enableLabelsAndAnswersExportFormat - Boolean!
|
Example
{
"activitySettings": TeamActivitySettings,
"additionalSetting": AdditionalTeamSetting,
"allowedAdminExportMethods": ["FILE_STORAGE"],
"allowedLabelerExportMethods": ["FILE_STORAGE"],
"allowedOCRProviders": ["APACHE_TIKA"],
"allowedASRProviders": ["OPENAI_WHISPER"],
"allowedReviewerExportMethods": ["FILE_STORAGE"],
"commentNotificationType": "OFF",
"customAPICreationLimit": 987,
"defaultCustomTextExtractionAPIId": "4",
"defaultExternalObjectStorageId": "4",
"enabledCustomObjectStorage": ["AWS_S3"],
"enableActions": true,
"enableAddDocumentsToProject": false,
"enableDemo": false,
"enableDataProgramming": true,
"enableLabelingFunctionMultipleLabel": false,
"enableDatasaurAssistRowBased": false,
"enableDatasaurDinamicTokenBased": true,
"enableDatasaurPredictiveRowBased": false,
"enableLabelingAgentSpanBased": true,
"enableWipeData": false,
"enableExportTeamOverview": false,
"enableSelfAssignment": false,
"enableTransferOwnership": false,
"enableLabelErrorDetectionRowBased": false,
"allowedExtraAutoLabelProviders": ["CUSTOM"],
"enableLLMProject": false,
"enableRegexSentenceSeparator": false,
"enableTeamRoleSupervisor": false,
"endExtensionTrialAt": "2007-12-03T10:15:30Z",
"allowInvalidPaymentMethod": true,
"enableExternalKnowledgeBase": true,
"enableForceAnonymization": false,
"enableReviewIndicator": false,
"enableValidationScript": true,
"enableSpanLabelingWithRowQuestions": true,
"llmFreeTrialDailyLimitsConfig": LlmFreeTrialDailyLimitsConfig,
"enableScriptGeneratedQuestion": false,
"rowModification": RowModificationSetting,
"enableDeployedApplicationLogging": false,
"enableRealTimeAssistedLabelingSpanBased": false,
"enableLabelsAndAnswersExportFormat": false
}
TextChunk
Fields
| Field Name | Description |
|---|---|
id - Int!
|
|
documentId - ID
|
|
sentenceIndexStart - Int!
|
|
sentenceIndexEnd - Int!
|
|
sentences - [TextSentence!]!
|
Example
{
"id": 987,
"documentId": 4,
"sentenceIndexStart": 123,
"sentenceIndexEnd": 987,
"sentences": [TextSentence]
}
TextChunkInput
Fields
| Input Field | Description |
|---|---|
id - Int!
|
|
sentenceIndexStart - Int!
|
|
sentenceIndexEnd - Int!
|
|
sentences - [TextSentenceInput]!
|
Example
{
"id": 123,
"sentenceIndexStart": 987,
"sentenceIndexEnd": 123,
"sentences": [TextSentenceInput]
}
TextCursor
TextCursorInput
TextDocument
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
chunks - [TextChunk!]!
|
|
createdAt - String!
|
|
currentSentenceCursor - Int!
|
|
lastLabeledLine - Int
|
|
documentSettings - TextDocumentSettings
|
|
fileName - String!
|
|
isCompleted - Boolean!
|
|
completedByUserId - ID
|
|
lastSavedAt - String!
|
|
mimeType - String!
|
|
name - String!
|
|
projectId - ID
|
|
sentences - [TextSentence!]!
|
Deprecated. Please use getRowAnswers. Deprecated. Please use getRowAnswers.
|
settings - Settings!
|
|
statistic - TextDocumentStatistic!
|
|
status - TextDocumentStatus
|
Status for REVIEW document. Only documents in REVIEW cabinet will have this field populated. |
statusUpdatedByUserId - ID
|
|
timeLimit - DateTime
|
|
timeLimitScheduledCommandId - ID
|
|
type - TextDocumentType!
|
|
updatedChunks - [TextChunk!]!
|
|
updatedTokenLabels - [TextLabel!]!
|
|
url - String
|
|
version - Int!
|
|
workspaceState - WorkspaceState
|
|
originId - ID
|
|
signature - String!
|
|
part - Int!
|
|
Example
{
"id": "4",
"chunks": [TextChunk],
"createdAt": "abc123",
"currentSentenceCursor": 123,
"lastLabeledLine": 987,
"documentSettings": TextDocumentSettings,
"fileName": "xyz789",
"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
}
TextDocumentScalar
Example
TextDocumentScalar
TextDocumentSettings
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
textLabelMaxTokenLength - Int!
|
Number of token that can be covered by one label. |
allTokensMustBeLabeled - Boolean!
|
Specific for Span labeling. True will force every token to have at least one label. |
autoScrollWhenLabeling - Boolean!
|
|
allowArcDrawing - Boolean!
|
Enables drawing arrows between labels in Span labeling. |
allowCharacterBasedLabeling - Boolean
|
Enables character span labeling. |
allowMultiLabels - Boolean!
|
Enables placing multiple labels on one character / token span. |
kinds - [ProjectKind!]!
|
The project kinds associated with the document. |
sentenceSeparator - String!
|
The sentence separator of the document. See the input type for more details TextDocumentSettingsInput or CreationSettingsInput |
tokenizer - String!
|
The tokenizer of the document. One of [WINK, WHITE_SPACE]. |
editSentenceTokenizer - String!
|
The tokenizer of the document. One of [WINK, WHITE_SPACE]. |
displayedRows - Int!
|
How many rows are displayed at once. -1 displays all rows. |
mediaDisplayStrategy - MediaDisplayStrategy!
|
|
viewer - TextDocumentViewer!
|
Sets how the Changes accordingly with the task type and/or document type |
viewerConfig - TextDocumentViewerConfig
|
|
hideBoundingBoxIfNoSpanOrArrowLabel - Boolean
|
Hide if the bounding box does not have span label corresponded with it |
enableTabularMarkdownParsing - Boolean
|
|
enableAnonymization - Boolean!
|
|
anonymizationEntityTypes - [String!]
|
|
anonymizationMaskingMethod - String
|
Masking method for anonymization. One of [RANDOM_CHARACTER, ASTERISK]. |
anonymizationRegExps - [RegularExpression!]
|
Optional. List of regular expressions for getting additional PII entities to anonymize. |
fileTransformerId - String
|
|
rowQuestionsFormValidationScriptId - ID
|
Optional.Script for validating row questions form. |
enableRowQuestionsFormValidationScript - Boolean
|
Optional. Set to false to disable row questions form validation script when already configured. Default to true. |
Example
{
"id": "4",
"textLabelMaxTokenLength": 987,
"allTokensMustBeLabeled": false,
"autoScrollWhenLabeling": true,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": true,
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "xyz789",
"tokenizer": "abc123",
"editSentenceTokenizer": "xyz789",
"displayedRows": 123,
"mediaDisplayStrategy": "NONE",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"hideBoundingBoxIfNoSpanOrArrowLabel": true,
"enableTabularMarkdownParsing": false,
"enableAnonymization": false,
"anonymizationEntityTypes": ["xyz789"],
"anonymizationMaskingMethod": "xyz789",
"anonymizationRegExps": [RegularExpression],
"fileTransformerId": "xyz789",
"rowQuestionsFormValidationScriptId": "4",
"enableRowQuestionsFormValidationScript": true
}
TextDocumentSettingsInput
Description
Configuration parameter for new documents. Used in project creation via mutation launchTextProjectAsync. Span refers to both character and token.
Fields
| Input Field | Description |
|---|---|
textLabelMaxTokenLength - Int
|
Specific for Span labeling. Determine how many spans that can be covered by one label. Default to 999999. |
allTokensMustBeLabeled - Boolean
|
Specific for Span labeling. True will force every span to have at least one label. Default to false. |
autoScrollWhenLabeling - Boolean
|
Enables autoscrolling in the web UI. Default to false. |
allowArcDrawing - Boolean
|
Specific for Span labeling. True will enable drawing arrows between labels. Default to false. |
allowCharacterBasedLabeling - Boolean
|
Specific for Span labeling. True will enable character span labeling. Default to false. |
allowMultiLabels - Boolean
|
Specific for Span labeling. True will allow span to have multiple labels. |
sentenceSeparator - String
|
For Span labeling, with TXT or TSV IOB files.
|
tokenizer - String
|
Specific for Span labeling. One of [WINK, WHITE_SPACE]. Default to WINK. |
editSentenceTokenizer - String
|
Specific for Span labeling. One of [WINK, WHITE_SPACE]. Default to WINK. |
displayedRows - Int
|
Specific for Row Labeling, Determines how many rows are displayed in the editor. Default to -1, showing all rows. |
mediaDisplayStrategy - MediaDisplayStrategy
|
Specific for Row Labeling. Default to NONE. |
ocrMethod - TranscriptMethod
|
Deprecated. Please use field transcriptMethod instead. |
transcriptMethod - TranscriptMethod
|
Required for transcription tasks. |
ocrProvider - OCRProvider
|
Optional. For OCR tasks when transcriptMethod is set to INTERNAL. Default to null. |
asrProvider - ASRProvider
|
Optional. For ASR tasks when transcriptMethod is set to INTERNAL. Default to null. |
viewer - TextDocumentViewer
|
Required for Token and Row Labeling. TOKEN view for Span labeling. TABULAR view for Row Labeling with spreadsheet-like interface. URL view for Row Labeling with URL viewer. Configurable via the viewerConfig field. |
viewerConfig - TextDocumentViewerConfigInput
|
|
customScriptId - ID
|
Deprecated. Please use field fileTransformerId instead. No longer supported
|
fileTransformerId - ID
|
Optional. Sets the file transformer to be used in the project. Default to null. |
customTextExtractionAPIId - ID
|
Optional. Default to null. |
firstRowAsHeader - Boolean
|
Required for .csv files / Row Labeling. Sets the first row of data as header rows. Default to null. |
enableTabularMarkdownParsing - Boolean
|
For .csv files / Row Labeling. Enables markdown parsing. Default to false |
enableAnonymization - Boolean
|
Optional. Set to true to enable anonymization |
anonymizationEntityTypes - [String!]
|
Optional. List of PII entity types to anonymize |
anonymizationMaskingMethod - String
|
Optional. Masking method for anonymization. One of [RANDOM_CHARACTER, ASTERISK]. |
anonymizationRegExps - [RegularExpressionInput!]
|
Optional. List of regular expressions for getting additional PII entities to anonymize. |
kind - ProjectKind
|
Deprecated. Use kinds to support mixed labeling. Use kinds to support mixed labeling |
rowQuestionsFormValidationScriptId - ID
|
Optional. Script for validating row questions form. |
enableRowQuestionsFormValidationScript - Boolean
|
Optional. Set to false to disable row questions form validation script when already configured. Default to true. |
Example
{
"textLabelMaxTokenLength": 987,
"allTokensMustBeLabeled": false,
"autoScrollWhenLabeling": true,
"allowArcDrawing": false,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": true,
"sentenceSeparator": "xyz789",
"tokenizer": "xyz789",
"editSentenceTokenizer": "xyz789",
"displayedRows": 987,
"mediaDisplayStrategy": "NONE",
"ocrMethod": "TRANSCRIPTION",
"transcriptMethod": "TRANSCRIPTION",
"ocrProvider": "APACHE_TIKA",
"asrProvider": "OPENAI_WHISPER",
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfigInput,
"customScriptId": "4",
"fileTransformerId": 4,
"customTextExtractionAPIId": 4,
"firstRowAsHeader": false,
"enableTabularMarkdownParsing": false,
"enableAnonymization": true,
"anonymizationEntityTypes": ["abc123"],
"anonymizationMaskingMethod": "abc123",
"anonymizationRegExps": [RegularExpressionInput],
"kind": "DOCUMENT_BASED",
"rowQuestionsFormValidationScriptId": 4,
"enableRowQuestionsFormValidationScript": false
}
TextDocumentStatistic
Fields
| Field Name | Description |
|---|---|
documentId - ID
|
|
numberOfChunks - Int!
|
|
numberOfSentences - Int!
|
|
numberOfTokens - Int!
|
|
effectiveTimeSpent - Int!
|
Effective time spent is the time in millisecond(s) that the assignee spent on a text document. |
touchedSentences - [Int!]
|
Lines that have been touched by the user. Depending on the project's labeling task, this either contains the lines that have answers (row labeling, span+line labeling) or the lines that have labels (span labeling, conversational labeling). For a more precise metric, see |
labeledLines - [Int!]
|
The lines that contain labels. Uses 0-based numbering, i.e. the first line is 0. Supported in the following labeling tasks.
|
answeredLines - [Int!]
|
The lines that have been answered. Uses 0-based numbering, i.e. the first line is 0. Supported in the following labeling tasks.
|
nonDisplayedLines - [Int!]!
|
|
numberOfEntitiesLabeled - Int
|
|
numberOfNonDocumentEntitiesLabeled - Int
|
|
maxLabeledLine - Int!
|
|
labelerStatistic - [LabelerStatistic!]
|
|
documentTouched - Boolean
|
Example
{
"documentId": "4",
"numberOfChunks": 987,
"numberOfSentences": 123,
"numberOfTokens": 123,
"effectiveTimeSpent": 987,
"touchedSentences": [123],
"labeledLines": [987],
"answeredLines": [123],
"nonDisplayedLines": [123],
"numberOfEntitiesLabeled": 987,
"numberOfNonDocumentEntitiesLabeled": 123,
"maxLabeledLine": 123,
"labelerStatistic": [LabelerStatistic],
"documentTouched": false
}
TextDocumentStatisticInput
TextDocumentStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"NOT_STARTED"
TextDocumentType
Description
More complete explanation can be found here in this page
Values
| Enum Value | Description |
|---|---|
|
|
Part of Speech |
|
|
Named Entity Recognition |
|
|
Dependency |
|
|
Document Labeling |
|
|
Deprecated. Aspect Based Sentiment Analysis No longer supported |
|
|
Coreference |
|
|
Optical Character Recognition |
|
|
Audio Speech Recognition |
|
|
|
|
|
|
|
|
|
|
|
Example
"POS"
TextDocumentViewer
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"TOKEN"
TextDocumentViewerConfig
Fields
| Field Name | Description |
|---|---|
urlColumnNames - [String!]
|
Example
{"urlColumnNames": ["abc123"]}
TextDocumentViewerConfigInput
Fields
| Input Field | Description |
|---|---|
urlColumnNames - [String!]
|
Example
{"urlColumnNames": ["abc123"]}
TextLabel
Fields
| Field Name | Description |
|---|---|
id - String!
|
|
l - String!
|
|
layer - Int!
|
|
deleted - Boolean
|
|
hashCode - String!
|
|
labeledBy - ConflictTextLabelResolutionStrategy
|
|
labeledByUser - User
|
|
labeledByUserId - Int
|
|
acceptedByUserId - ID
|
|
rejectedByUserId - ID
|
|
createdAt - String
|
|
updatedAt - String
|
|
documentId - String
|
|
start - TextCursor!
|
|
end - TextCursor!
|
|
confidenceScore - Float
|
|
status - LabelStatus
|
Example
{
"id": "xyz789",
"l": "xyz789",
"layer": 987,
"deleted": true,
"hashCode": "abc123",
"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"
}
TextLabelInput
Fields
| Input Field | Description |
|---|---|
id - String!
|
|
l - String!
|
|
start - TextCursorInput!
|
|
end - TextCursorInput!
|
|
layer - Int!
|
|
deleted - Boolean
|
|
labeledBy - ConflictTextLabelResolutionStrategy
|
|
confidenceScore - Float
|
Example
{
"id": "abc123",
"l": "xyz789",
"start": TextCursorInput,
"end": TextCursorInput,
"layer": 987,
"deleted": false,
"labeledBy": "AUTO",
"confidenceScore": 123.45
}
TextLabelScalar
Example
TextLabelScalar
TextMetadataConfig
TextRange
Fields
| Field Name | Description |
|---|---|
start - TextCursor!
|
|
end - TextCursor!
|
Example
{
"start": TextCursor,
"end": TextCursor
}
TextRangeInput
Fields
| Input Field | Description |
|---|---|
start - TextCursorInput!
|
|
end - TextCursorInput!
|
Example
{
"start": TextCursorInput,
"end": TextCursorInput
}
TextSentence
Fields
| Field Name | Description |
|---|---|
id - Int!
|
|
documentId - ID
|
|
userId - ID
|
|
status - TextSentenceStatus!
|
|
content - String!
|
|
tokens - [String!]!
|
|
posLabels - [TextLabel!]!
|
|
nerLabels - [TextLabel!]!
|
|
docLabels - [DocLabelObject!]
|
|
docLabelsString - String
|
|
conflicts - [ConflictTextLabel!]
|
|
conflictAnswers - [ConflictAnswer!]
|
|
answers - [Answer!]
|
|
sentenceConflict - SentenceConflict
|
|
conflictAnswerResolved - ConflictTextLabelResolutionStrategy
|
|
metadata - [CellMetadata!]
|
Example
{
"id": 123,
"documentId": "4",
"userId": 4,
"status": "DELETED",
"content": "abc123",
"tokens": ["xyz789"],
"posLabels": [TextLabel],
"nerLabels": [TextLabel],
"docLabels": [DocLabelObject],
"docLabelsString": "xyz789",
"conflicts": [ConflictTextLabel],
"conflictAnswers": [ConflictAnswer],
"answers": [Answer],
"sentenceConflict": SentenceConflict,
"conflictAnswerResolved": "AUTO",
"metadata": [CellMetadata]
}
TextSentenceInput
Fields
| Input Field | Description |
|---|---|
id - Int!
|
|
content - String!
|
|
tokens - [String!]
|
|
posLabels - [TextLabelInput!]
|
|
nerLabels - [TextLabelInput!]
|
|
docLabels - [DocLabelObjectInput!]
|
|
docLabelsString - String
|
|
metadata - [CellMetadataInput!]
|
Example
{
"id": 987,
"content": "abc123",
"tokens": ["xyz789"],
"posLabels": [TextLabelInput],
"nerLabels": [TextLabelInput],
"docLabels": [DocLabelObjectInput],
"docLabelsString": "xyz789",
"metadata": [CellMetadataInput]
}
TextSentenceStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"DELETED"
TimelineDocument
TimelineEvent
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
user - User
|
|
event - String!
|
|
targetProject - TimelineProject
|
|
targetDocument - TimelineDocument
|
|
targetUser - User
|
|
created - String!
|
Example
{
"id": "4",
"user": User,
"event": "abc123",
"targetProject": TimelineProject,
"targetDocument": TimelineDocument,
"targetUser": User,
"created": "xyz789"
}
TimelineProject
TimestampLabel
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
documentId - ID!
|
|
layer - Int!
|
|
position - TextRange!
|
|
startTimestampMillis - Int!
|
|
endTimestampMillis - Int!
|
|
type - LabelEntityType!
|
Example
{
"id": 4,
"documentId": 4,
"layer": 123,
"position": TextRange,
"startTimestampMillis": 123,
"endTimestampMillis": 123,
"type": "ARROW"
}
TimestampLabelInput
Fields
| Input Field | Description |
|---|---|
layer - Int!
|
|
position - TextRangeInput!
|
|
counter - Int!
|
|
startTimestampMillis - Int!
|
|
endTimestampMillis - Int!
|
|
labeledBy - LabelPhase
|
Example
{
"layer": 987,
"position": TextRangeInput,
"counter": 987,
"startTimestampMillis": 123,
"endTimestampMillis": 123,
"labeledBy": "PRELABELED"
}
TokenBasedDocumentSettingsInput
Description
Configuration for Token Labeling projects.
Fields
| Input Field | Description |
|---|---|
textLabelMaxTokenLength - Int
|
Determine how many spans that can be covered by one label. Default to 999999. |
allTokensMustBeLabeled - Boolean
|
Set to true to force every span to have at least one label. Default to false. |
autoScrollWhenLabeling - Boolean
|
Enables autoscrolling in the web UI. Default to false. |
allowArcDrawing - Boolean
|
Set to true to enable drawing arrows between labels. Default to false. |
allowCharacterBasedLabeling - Boolean
|
Set to true to enable character span labeling. Default to false, which means token span labeling |
allowMultiLabels - Boolean
|
Set to true to allow span to have multiple labels. Default to false. |
editSentenceTokenizer - String
|
Sets the default tokenizer for sentence editing. One of [WINK, WHITE_SPACE]. Default to WINK. |
Example
{
"textLabelMaxTokenLength": 123,
"allTokensMustBeLabeled": true,
"autoScrollWhenLabeling": true,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": true,
"allowMultiLabels": false,
"editSentenceTokenizer": "abc123"
}
TokenPrices
Fields
| Field Name | Description |
|---|---|
inputTokenPrice - Float!
|
Primary price |
outputTokenPrice - Float!
|
|
totalTokenPrice - Float!
|
|
inputCharPrice - Float
|
|
outputCharPrice - Float
|
|
totalCharPrice - Float
|
|
systemInstructionTokenPrice - Float!
|
Price breakdowns |
userInstructionTokenPrice - Float!
|
|
promptTokenPrice - Float!
|
|
contextTokenPrice - Float!
|
|
imageTokenPrice - Float!
|
|
systemInstructionCharPrice - Float
|
|
userInstructionCharPrice - Float
|
|
promptCharPrice - Float
|
|
contextCharPrice - Float
|
|
promptEmbedding - EmbeddingTokenPrices
|
Prompt embedding prices |
Example
{
"inputTokenPrice": 123.45,
"outputTokenPrice": 123.45,
"totalTokenPrice": 987.65,
"inputCharPrice": 987.65,
"outputCharPrice": 123.45,
"totalCharPrice": 987.65,
"systemInstructionTokenPrice": 987.65,
"userInstructionTokenPrice": 987.65,
"promptTokenPrice": 123.45,
"contextTokenPrice": 987.65,
"imageTokenPrice": 987.65,
"systemInstructionCharPrice": 123.45,
"userInstructionCharPrice": 987.65,
"promptCharPrice": 123.45,
"contextCharPrice": 987.65,
"promptEmbedding": EmbeddingTokenPrices
}
TokenUnitPriceInput
Fields
| Input Field | Description |
|---|---|
provider - GqlLlmModelProvider!
|
|
modelName - String!
|
|
embeddingProvider - GqlLlmModelProvider
|
|
embeddingModelName - String
|
Example
{
"provider": "AMAZON_BEDROCK",
"modelName": "abc123",
"embeddingProvider": "AMAZON_BEDROCK",
"embeddingModelName": "abc123"
}
TokenUnitPriceResponse
TokenUnitPrices
Fields
| Field Name | Description |
|---|---|
inputTokenUnitPrice - Float!
|
|
inputTokenUnitCurrency - String!
|
|
inputTokenUnitCurrencySymbol - String!
|
|
outputTokenUnitPrice - Float!
|
|
outputTokenUnitCurrency - String!
|
|
outputTokenUnitCurrencySymbol - String!
|
|
embeddingTokenUnitPrice - Float
|
|
embeddingTokenUnitCurrency - String
|
|
embeddingTokenUnitCurrencySymbol - String
|
Example
{
"inputTokenUnitPrice": 987.65,
"inputTokenUnitCurrency": "abc123",
"inputTokenUnitCurrencySymbol": "xyz789",
"outputTokenUnitPrice": 987.65,
"outputTokenUnitCurrency": "abc123",
"outputTokenUnitCurrencySymbol": "abc123",
"embeddingTokenUnitPrice": 987.65,
"embeddingTokenUnitCurrency": "abc123",
"embeddingTokenUnitCurrencySymbol": "xyz789"
}
TokenUsages
Fields
| Field Name | Description |
|---|---|
inputTokens - Int!
|
Primary usage counts |
outputTokens - Int!
|
|
totalTokens - Int!
|
|
inputChars - Int
|
|
outputChars - Int
|
|
totalChars - Int
|
|
systemInstructionTokens - Int!
|
Usage count breakdowns |
userInstructionTokens - Int!
|
|
promptTokens - Int!
|
|
contextTokens - Int!
|
|
imageTokens - Int!
|
|
systemInstructionChars - Int
|
|
userInstructionChars - Int
|
|
promptChars - Int
|
|
contextChars - Int
|
|
imageChars - Int
|
|
promptEmbedding - EmbeddingTokenUsages
|
Prompt embedding usage counts |
Example
{
"inputTokens": 123,
"outputTokens": 987,
"totalTokens": 987,
"inputChars": 987,
"outputChars": 123,
"totalChars": 987,
"systemInstructionTokens": 123,
"userInstructionTokens": 987,
"promptTokens": 987,
"contextTokens": 987,
"imageTokens": 987,
"systemInstructionChars": 987,
"userInstructionChars": 987,
"promptChars": 987,
"contextChars": 987,
"imageChars": 987,
"promptEmbedding": EmbeddingTokenUsages
}
TokenizationMethod
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"WINK"
TotpAuthSecret
TotpCodeInput
Fields
| Input Field | Description |
|---|---|
type - TotpCodeType!
|
|
code - String!
|
Example
{"type": "RECOVERY", "code": "xyz789"}
TotpCodeType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"RECOVERY"
TotpRecoveryCodes
Fields
| Field Name | Description |
|---|---|
recoveryCodes - [String!]!
|
Recovery codes in array of string. Can return empty array if user has used up all of the recovery codes. |
Example
{"recoveryCodes": ["xyz789"]}
TranscriptConfigInput
Description
Required for transcription tasks - for token labeling with Audio or OCR.
Fields
| Input Field | Description |
|---|---|
method - TranscriptMethod!
|
Required. Sets the transcription method. |
ocrProvider - OCRProvider
|
Required for method=INTERNAL. This value will be used for OCR projects, and ignored for audio projects |
asrProvider - ASRProvider
|
Required for method=INTERNAL. This value will be used for audio projects, and ignored for OCR projects |
customAPIId - ID
|
Required for method=CUSTOM_API |
Example
{
"method": "TRANSCRIPTION",
"ocrProvider": "APACHE_TIKA",
"asrProvider": "OPENAI_WHISPER",
"customAPIId": "4"
}
TranscriptMethod
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"TRANSCRIPTION"
TrialSurveyInput
TriggerLabelingAgentLabelPredictionJobInput
TriggerRealTimeAssistedLabelingSpanBasedInput
UnusedLabelClass
UnusedLabelSetItemInfo
Fields
| Field Name | Description |
|---|---|
labelSetId - ID!
|
|
labelSetName - String!
|
|
items - [TagItem!]!
|
Example
{
"labelSetId": 4,
"labelSetName": "abc123",
"items": [TagItem]
}
UpdateBBoxLabelClassInput
Example
{
"id": "4",
"name": "abc123",
"color": "abc123",
"captionAllowed": true,
"captionRequired": false,
"questions": [ModifyQuestionInput]
}
UpdateCellConflictsResult
Fields
| Field Name | Description |
|---|---|
cells - [Cell!]!
|
|
labels - [TextLabel!]!
|
|
addedLabels - [GqlConflictable!]!
|
|
deletedLabels - [GqlConflictable!]!
|
Example
{
"cells": [Cell],
"labels": [TextLabel],
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable]
}
UpdateChunkInput
Fields
| Input Field | Description |
|---|---|
chunkId - ID!
|
|
text - String
|
|
metadata - DocumentChunkMetadata
|
|
documentId - ID!
|
Example
{
"chunkId": 4,
"text": "xyz789",
"metadata": DocumentChunkMetadata,
"documentId": "4"
}
UpdateConflictsInput
UpdateConflictsResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
previousSentences - [TextSentence!]!
|
|
updatedSentences - [TextSentence!]!
|
Example
{
"document": TextDocument,
"previousSentences": [TextSentence],
"updatedSentences": [TextSentence]
}
UpdateCreateProjectActionInput
Description
Parameters for updating create project Action.
Fields
| Input Field | Description |
|---|---|
name - String!
|
Name of the create project Action object. |
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": "xyz789",
"externalObjectStorageId": 4,
"externalObjectStoragePathInput": "xyz789",
"externalObjectStoragePathResult": "abc123",
"projectTemplateId": "4",
"assignments": [CreateProjectActionAssignmentInput],
"additionalTagNames": ["abc123"],
"numberOfLabelersPerProject": 123,
"numberOfReviewersPerProject": 987,
"numberOfLabelersPerDocument": 123,
"conflictResolutionMode": "MANUAL",
"consensus": 123
}
UpdateCurrentSentenceCursorInput
UpdateCustomAPIInput
UpdateDatasaurDinamicRowBasedInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
inputColumnIds - [Int!]
|
|
questionColumnId - Int
|
|
providerSetting - ProviderSettingInput
|
Example
{
"id": 4,
"inputColumnIds": [987],
"questionColumnId": 123,
"providerSetting": ProviderSettingInput
}
UpdateDatasaurDinamicTokenBasedInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
targetLabelSetIndex - Int
|
|
providerSetting - ProviderSettingInput
|
Example
{
"id": "4",
"targetLabelSetIndex": 123,
"providerSetting": ProviderSettingInput
}
UpdateDatasaurPredictiveInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
inputColumnIds - [Int!]
|
|
questionColumnId - Int
|
|
providerSetting - ProviderSettingInput
|
Example
{
"id": "4",
"inputColumnIds": [987],
"questionColumnId": 123,
"providerSetting": ProviderSettingInput
}
UpdateDefaultExtensionInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
defaultExtensions - [DefaultExtensionInput!]!
|
Example
{
"teamId": "4",
"defaultExtensions": [DefaultExtensionInput]
}
UpdateDocumentAnswersResult
Fields
| Field Name | Description |
|---|---|
previousAnswers - DocumentAnswer!
|
Example
{"previousAnswers": DocumentAnswer}
UpdateDocumentMetasInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
documentMeta - [DocumentMetaInput!]!
|
Example
{
"projectId": "4",
"documentMeta": [DocumentMetaInput]
}
UpdateExtensionElementInput
UpdateFileTransformerInput
Fields
| Input Field | Description |
|---|---|
fileTransformerId - ID!
|
|
name - String
|
|
content - String
|
|
language - FileTransformerLanguage
|
Example
{
"fileTransformerId": "4",
"name": "xyz789",
"content": "xyz789",
"language": "TYPESCRIPT"
}
UpdateGroundTruthInput
UpdateGroundTruthSetInput
UpdateLabelErrorDetectionRowBasedInput
UpdateLabelSetTemplateInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
name - String
|
|
questions - [LabelSetTemplateItemInput!]
|
|
leafOnlyOption - Boolean
|
Optional. If true, the labelset template will only allow leaf options to be selected. |
Example
{
"id": 4,
"name": "xyz789",
"questions": [LabelSetTemplateItemInput],
"leafOnlyOption": true
}
UpdateLabelingFunctionInput
Fields
| Input Field | Description |
|---|---|
labelingFunctionId - ID!
|
|
name - String
|
|
content - String
|
|
active - Boolean
|
|
heuristicArgument - HeuristicArgumentScalar
|
|
annotatorArgument - AnnotatorArgumentScalar
|
Example
{
"labelingFunctionId": "4",
"name": "xyz789",
"content": "abc123",
"active": true,
"heuristicArgument": HeuristicArgumentScalar,
"annotatorArgument": AnnotatorArgumentScalar
}
UpdateLabelsResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
updatedSentences - [TextSentence!]!
|
|
updatedCellLines - [Int!]!
|
|
updatedTokenLabels - [TextLabel!]!
|
|
previousTokenLabels - [TextLabel!]!
|
|
rejectedLabels - [RejectedLabel!]!
|
Example
{
"document": TextDocument,
"updatedSentences": [TextSentence],
"updatedCellLines": [987],
"updatedTokenLabels": [TextLabel],
"previousTokenLabels": [TextLabel],
"rejectedLabels": [RejectedLabel]
}
UpdateLlmApplicationConfigurationInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
The LLM application configuration id. |
name - String
|
The name of the LLM application configuration. |
teamId - ID!
|
The team id that the LLM application configuration belongs to. |
llmRagConfigId - ID
|
The saved RAG config will be copied from the provided RAG config. |
Example
{
"id": 4,
"name": "abc123",
"teamId": "4",
"llmRagConfigId": 4
}
UpdateLlmEvaluationAutomatedInput
Fields
| Input Field | Description |
|---|---|
llmEvaluationId - ID!
|
The LLM evaluation id. |
evaluators - [LlmEvaluationAutomatedEvaluatorUpdateInput!]
|
Evaluator model(s) to use for evaluation. |
schedule - LlmEvaluationAutomatedScheduleInput
|
If schedule is null, the scheduled automated evaluation will be stopped. |
Example
{
"llmEvaluationId": 4,
"evaluators": [
LlmEvaluationAutomatedEvaluatorUpdateInput
],
"schedule": LlmEvaluationAutomatedScheduleInput
}
UpdateLlmVectorStoreAsyncInput
Description
Configuration parameter for llm vector store update.
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Required. Set the llm vector store id. |
name - String
|
Optional. Set the llm vector store name if changed. |
documents - [LlmVectorStoreDocumentInput!]
|
Optional. The newly added documents associated to the llm vector store. |
updateDocuments - [UpdateLlmVectorStoreDocumentInput!]
|
Optional. Update the document ids from the llm vector store. |
updateDocumentByRules - UpdateLlmVectorStoreDocumentByRulesInput
|
Optional. Update the document by rules. |
deletedDocumentIds - [ID!]
|
Optional. The deleted document ids from the llm vector store. |
llmEmbeddingModelId - ID
|
|
authenticationScheme - GqlLlmVectorStoreAuthenticationScheme
|
|
collectionId - String
|
|
username - String
|
|
password - String
|
|
addedSources - [LlmVectorStoreSourceCreateInput!]
|
Optional. The newly added sources. |
updatedSources - [LlmVectorStoreSourceUpdateInput!]
|
Optional. The updated sources. |
deletedSourceIds - [ID!]
|
Optional. The deleted source ids. |
questions - [QuestionInput!]
|
Optional. Set the questions for LLM Vector Store. |
chunkConfiguration - ChunkConfiguration
|
Optional. The chunk configuration for the llm vector store. |
shouldReChunk - Boolean
|
Optional. Whether to re-chunk the documents. |
Example
{
"id": 4,
"name": "xyz789",
"documents": [LlmVectorStoreDocumentInput],
"updateDocuments": [UpdateLlmVectorStoreDocumentInput],
"updateDocumentByRules": UpdateLlmVectorStoreDocumentByRulesInput,
"deletedDocumentIds": ["4"],
"llmEmbeddingModelId": "4",
"authenticationScheme": "BASIC",
"collectionId": "xyz789",
"username": "abc123",
"password": "xyz789",
"addedSources": [LlmVectorStoreSourceCreateInput],
"updatedSources": [LlmVectorStoreSourceUpdateInput],
"deletedSourceIds": [4],
"questions": [QuestionInput],
"chunkConfiguration": ChunkConfiguration,
"shouldReChunk": true
}
UpdateLlmVectorStoreDocument
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
chunkConfiguration - ChunkConfiguration
|
|
useDefaultChunkConfiguration - Boolean
|
Example
{
"id": "4",
"chunkConfiguration": ChunkConfiguration,
"useDefaultChunkConfiguration": true
}
UpdateLlmVectorStoreDocumentByRulesInput
Fields
| Input Field | Description |
|---|---|
rules - [DocumentRulesInput!]!
|
The document rules. |
chunkConfiguration - ChunkConfiguration
|
Optional. The chunk configuration for the document. |
useDefaultChunkConfiguration - Boolean
|
Optional. Whether to use the default chunk configuration from knowledge base. Supersedes the chunk configuration. |
Example
{
"rules": [DocumentRulesInput],
"chunkConfiguration": ChunkConfiguration,
"useDefaultChunkConfiguration": true
}
UpdateLlmVectorStoreDocumentInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Required. The document id. |
chunkConfiguration - ChunkConfiguration
|
Optional. The chunk configuration for the document. |
useDefaultChunkConfiguration - Boolean
|
Optional. Whether to use the default chunk configuration from knowledge base. Supersedes the chunk configuration. |
isFavorite - Boolean
|
Optional. Whether to mark the document as favorite. |
Example
{
"id": "4",
"chunkConfiguration": ChunkConfiguration,
"useDefaultChunkConfiguration": true,
"isFavorite": true
}
UpdateLlmVectorStoreInput
Description
Configuration parameter for llm vector store update (non async).
Example
{
"id": "4",
"name": "xyz789",
"collectionId": "abc123",
"username": "xyz789",
"password": "abc123"
}
UpdateMultiRowAnswersInput
Fields
| Input Field | Description |
|---|---|
textDocumentId - String!
|
|
rowAnswers - [RowAnswersInput!]!
|
|
labeledBy - LabelPhaseInput
|
|
type - UpdateMultiRowAnswersInputType
|
|
additionalData - [RowAnswerAdditionalData!]
|
|
signature - String
|
|
patchAnsweredQuestionsOnly - Boolean
|
When set to true, only questions that have answers provided in the input will be updated. Questions not included in the input will retain their existing answers. When false, questions not included in the input will have their answers cleared. To clear a specific question's answer when patchAnsweredQuestionsOnly is true, include that question in the input with an empty value (e.g., "Q0": ""). This pattern is commonly used in undo actions where you want to clear specific answers while preserving others. Default is false. |
Example
{
"textDocumentId": "abc123",
"rowAnswers": [RowAnswersInput],
"labeledBy": "PRELABELED",
"type": "AUTOLABEL",
"additionalData": [RowAnswerAdditionalData],
"signature": "abc123",
"patchAnsweredQuestionsOnly": true
}
UpdateMultiRowAnswersInputType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AUTOLABEL"
UpdateMultiRowAnswersResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
previousAnswers - [RowAnswer!]!
|
|
updatedAnswers - [RowAnswer!]!
|
|
updatedLabels - [TextLabel!]!
|
Example
{
"document": TextDocument,
"previousAnswers": [RowAnswer],
"updatedAnswers": [RowAnswer],
"updatedLabels": [TextLabel]
}
UpdateProjectExtensionElementSettingInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
setting - ExtensionElementSettingInput!
|
Example
{"id": 4, "setting": ExtensionElementSettingInput}
UpdateProjectExtensionInput
Fields
| Input Field | Description |
|---|---|
cabinetId - String!
|
|
width - Int
|
|
elements - [UpdateExtensionElementInput!]
|
Example
{
"cabinetId": "xyz789",
"width": 123,
"elements": [UpdateExtensionElementInput]
}
UpdateProjectGuidelineInput
UpdateProjectInput
UpdateProjectLabelSetByLabelSetTemplateInput
Example
{
"index": 987,
"labelSetTemplateId": 4,
"projectId": "4"
}
UpdateProjectLabelSetInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Required. The labelset id to modify. |
projectId - ID!
|
Required. The project where the labelset is used. |
name - String
|
Optional. New value for the labelset name. If not supplied, the labelset's name is not changed. |
tagItems - [TagItemInput!]
|
Optional. New items to replace the labelset items. If not supplied, the items are not replaced. |
labelSetSignature - String
|
Optional. The labelset signature to modify. |
arrowLabelRequired - Boolean
|
Optional. Defaults to false. |
leafOnlyOption - Boolean
|
Optional. If true, the labelset will only allow leaf options to be selected. |
Example
{
"id": 4,
"projectId": "4",
"name": "abc123",
"tagItems": [TagItemInput],
"labelSetSignature": "abc123",
"arrowLabelRequired": false,
"leafOnlyOption": true
}
UpdateProjectMetadataItemInput
UpdateProjectSettingsInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
autoMarkDocumentAsComplete - Boolean
|
|
consensus - Int
|
Moved under conflictResolution.consensus
|
conflictResolution - ConflictResolutionInput
|
|
enableEditLabelSet - Boolean
|
|
enableReviewerEditSentence - Boolean
|
|
enableReviewerInsertSentence - Boolean
|
|
enableReviewerDeleteSentence - Boolean
|
|
enableEditSentence - Boolean
|
|
enableInsertSentence - Boolean
|
|
enableDeleteSentence - Boolean
|
|
enableDirectBBoxEditing - Boolean
|
|
enableEnforceAutoLabelReviewerSettings - Boolean
|
|
enableRapidLabelingFeedback - Boolean
|
|
enablePrelabeledDraft - Boolean
|
|
hideLabelerNamesDuringReview - Boolean
|
|
hideLabelsFromInactiveLabelSetDuringReview - Boolean
|
|
hideOriginalSentencesDuringReview - Boolean
|
|
hideRejectedLabelsDuringReview - Boolean
|
|
dynamicReviewMethod - ProjectDynamicReviewMethod
|
|
dynamicReviewMemberId - ID
|
|
labelerProjectCompletionNotification - LabelerProjectCompletionNotificationInput
|
|
selfAssignmentLimit - SelfAssignmentLimitInput
|
|
shouldConfirmUnusedLabelSetItems - Boolean
|
|
spotChecking - SpotCheckingInput
|
Example
{
"projectId": 4,
"autoMarkDocumentAsComplete": true,
"consensus": 987,
"conflictResolution": ConflictResolutionInput,
"enableEditLabelSet": true,
"enableReviewerEditSentence": false,
"enableReviewerInsertSentence": false,
"enableReviewerDeleteSentence": false,
"enableEditSentence": false,
"enableInsertSentence": true,
"enableDeleteSentence": true,
"enableDirectBBoxEditing": true,
"enableEnforceAutoLabelReviewerSettings": true,
"enableRapidLabelingFeedback": true,
"enablePrelabeledDraft": true,
"hideLabelerNamesDuringReview": true,
"hideLabelsFromInactiveLabelSetDuringReview": false,
"hideOriginalSentencesDuringReview": false,
"hideRejectedLabelsDuringReview": false,
"dynamicReviewMethod": "ANY_OTHER_TEAM_MEMBER",
"dynamicReviewMemberId": "4",
"labelerProjectCompletionNotification": LabelerProjectCompletionNotificationInput,
"selfAssignmentLimit": SelfAssignmentLimitInput,
"shouldConfirmUnusedLabelSetItems": true,
"spotChecking": SpotCheckingInput
}
UpdateProjectTagsInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
tagNames - [String!]!
|
Example
{
"projectId": "4",
"tagNames": ["xyz789"]
}
UpdateProjectTemplateInput
Description
Payload to update a project template. See updateProjectTemplate and updateProjectTemplateV2
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Template to update |
name - String
|
|
description - String
|
|
preview - Upload
|
Screenshot / image preview of the project template. Provide a null value to delete current image. Omit to keep current preview. |
logo - Upload
|
Logo / icon of the project template. Provide a null value to delete current logo. Omit to keep current logo. |
Example
{
"id": 4,
"name": "abc123",
"description": "xyz789",
"preview": Upload,
"logo": Upload
}
UpdateQuestionSetInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
|
name - String
|
|
items - [QuestionSetItemInput!]
|
Example
{
"id": 4,
"name": "xyz789",
"items": [QuestionSetItemInput]
}
UpdateReversedLabelsResult
Fields
| Field Name | Description |
|---|---|
document - TextDocumentScalar!
|
|
deletedLabels - [TextLabelScalar!]!
|
|
updatedLabels - [TextLabelScalar!]!
|
Example
{
"document": TextDocumentScalar,
"deletedLabels": [TextLabelScalar],
"updatedLabels": [TextLabelScalar]
}
UpdateReviewDocumentMetasInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
documentMeta - [DocumentMetaInput!]!
|
Example
{
"projectId": "4",
"documentMeta": [DocumentMetaInput]
}
UpdateRowAnswersResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
previousAnswers - RowAnswer!
|
|
updatedAnswers - RowAnswer!
|
Example
{
"document": TextDocument,
"previousAnswers": RowAnswer,
"updatedAnswers": RowAnswer
}
UpdateSamlTenantInput
Example
{
"companyId": 4,
"idpIssuer": "xyz789",
"idpUrl": "xyz789",
"spIssuer": "xyz789",
"certificate": "xyz789",
"active": false,
"allowMembersToSetPassword": true,
"teamId": 4
}
UpdateScimInput
UpdateSentenceConflictResult
Fields
| Field Name | Description |
|---|---|
cell - Cell!
|
|
labels - [TextLabel!]!
|
|
addedLabels - [GqlConflictable!]!
|
|
deletedLabels - [GqlConflictable!]!
|
Example
{
"cell": Cell,
"labels": [TextLabel],
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable]
}
UpdateSentenceResult
Fields
| Field Name | Description |
|---|---|
document - TextDocument!
|
|
updatedSentences - [TextSentence!]!
|
Use updatedCells
|
updatedTokenLabels - [TextLabel!]!
|
Use addedLabels and deletedLabels
|
previousTokenLabels - [TextLabel!]!
|
Use addedLabels and deletedLabels
|
addedLabels - [GqlConflictable!]!
|
|
deletedLabels - [GqlConflictable!]!
|
|
updatedCells - [Cell!]!
|
|
addedBoundingBoxLabels - [BoundingBoxLabel!]!
|
|
deletedBoundingBoxLabels - [BoundingBoxLabel!]!
|
Example
{
"document": TextDocument,
"updatedSentences": [TextSentence],
"updatedTokenLabels": [TextLabel],
"previousTokenLabels": [TextLabel],
"addedLabels": [GqlConflictable],
"deletedLabels": [GqlConflictable],
"updatedCells": [Cell],
"addedBoundingBoxLabels": [BoundingBoxLabel],
"deletedBoundingBoxLabels": [BoundingBoxLabel]
}
UpdateTagInput
UpdateTeamInput
UpdateTeamMemberTeamRoleInput
Fields
| Input Field | Description |
|---|---|
teamMemberId - ID!
|
|
teamRoleId - ID
|
Use teamRole instead. When both are provided, teamRole will be prioritized. |
teamRole - TeamMemberRole
|
Example
{
"teamMemberId": "4",
"teamRoleId": 4,
"teamRole": "ADMIN"
}
UpdateTeamSettingInput
Fields
| Input Field | Description |
|---|---|
allowedReviewerExportMethods - [GqlExportMethod!]
|
|
allowedLabelerExportMethods - [GqlExportMethod!]
|
|
teamId - ID!
|
|
commentNotificationType - CommentNotificationType
|
|
defaultExternalObjectStorageId - ID
|
|
enableActions - Boolean
|
|
enableDataProgramming - Boolean
|
|
enableDatasaurAssistRowBased - Boolean
|
|
enableDatasaurDinamicTokenBased - Boolean
|
|
enableDatasaurPredictiveRowBased - Boolean
|
|
enableLabelingAgentSpanBased - Boolean
|
|
enableLabelErrorDetectionRowBased - Boolean
|
|
enableWipeData - Boolean
|
|
enableSelfAssignment - Boolean
|
|
enableRealTimeAssistedLabelingSpanBased - Boolean
|
Example
{
"allowedReviewerExportMethods": ["FILE_STORAGE"],
"allowedLabelerExportMethods": ["FILE_STORAGE"],
"teamId": "4",
"commentNotificationType": "OFF",
"defaultExternalObjectStorageId": "4",
"enableActions": true,
"enableDataProgramming": false,
"enableDatasaurAssistRowBased": true,
"enableDatasaurDinamicTokenBased": true,
"enableDatasaurPredictiveRowBased": false,
"enableLabelingAgentSpanBased": true,
"enableLabelErrorDetectionRowBased": true,
"enableWipeData": true,
"enableSelfAssignment": false,
"enableRealTimeAssistedLabelingSpanBased": false
}
UpdateTextDocumentInput
Fields
| Input Field | Description |
|---|---|
id - ID!
|
Required. The document ID to be updated. See getCabinet |
name - String
|
|
fileName - String
|
|
chunks - [TextChunkInput!]
|
|
statistic - TextDocumentStatisticInput
|
|
settings - SettingsInput
|
Optional. The updated settings value for the document. |
type - TextDocumentType
|
|
currentSentenceCursor - Int
|
|
workspaceState - WorkspaceStateInput
|
|
isCompleted - Boolean
|
|
touchedSentences - [Int!]
|
Example
{
"id": "4",
"name": "xyz789",
"fileName": "abc123",
"chunks": [TextChunkInput],
"statistic": TextDocumentStatisticInput,
"settings": SettingsInput,
"type": "POS",
"currentSentenceCursor": 987,
"workspaceState": WorkspaceStateInput,
"isCompleted": true,
"touchedSentences": [123]
}
UpdateTextDocumentSettingsInput
Description
Configuration parameter for updating documents.
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
|
lang - String
|
|
textLabelMaxTokenLength - Int
|
Determines how many token that can be covered by one label. 999999 is usually fine as a default value. |
allTokensMustBeLabeled - Boolean
|
Specific for Span labeling. True will force every token to have at least one label. |
autoScrollWhenLabeling - Boolean
|
|
allowArcDrawing - Boolean
|
Allow arrows to be drawn between labels in Span labeling. |
allowCharacterBasedLabeling - Boolean
|
Enables character span labeling. |
allowMultiLabels - Boolean
|
Enables placing multiple labels on one character / token span. |
kind - ProjectKind
|
|
sentenceSeparator - String
|
Possible values are and . |
Example
{
"projectId": "4",
"lang": "xyz789",
"textLabelMaxTokenLength": 987,
"allTokensMustBeLabeled": true,
"autoScrollWhenLabeling": false,
"allowArcDrawing": false,
"allowCharacterBasedLabeling": false,
"allowMultiLabels": false,
"kind": "DOCUMENT_BASED",
"sentenceSeparator": "abc123"
}
UpdateTokenLabelsAction
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"LABEL"
UpdateTokenLabelsAdditionalDataEntryInput
UpdateTokenLabelsInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
|
labels - [TextLabelInput!]!
|
|
action - UpdateTokenLabelsAction!
|
|
type - UpdateTokenLabelsInputType
|
|
signature - String!
|
|
additionalData - [UpdateTokenLabelsAdditionalDataEntryInput!]
|
Example
{
"documentId": 4,
"labels": [TextLabelInput],
"action": "LABEL",
"type": "SEARCH_LABEL_ALL",
"signature": "abc123",
"additionalData": [
UpdateTokenLabelsAdditionalDataEntryInput
]
}
UpdateTokenLabelsInputType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"SEARCH_LABEL_ALL"
UpdateUserInfoInput
Upload
Example
Upload
UploadGuidelineInput
UploadLlmApplicationPlaygroundPromptMessagesInput
UpsertLabelErrorDetectionRowBasedSuggestionInput
Fields
| Input Field | Description |
|---|---|
suggestions - [LabelErrorDetectionRowBasedSuggestionInput!]!
|
Example
{
"suggestions": [
LabelErrorDetectionRowBasedSuggestionInput
]
}
UpsertLlmApplicationPlaygroundPromptMessageInput
Fields
| Input Field | Description |
|---|---|
llmApplicationPlaygroundPromptId - ID!
|
|
messages - [LlmApplicationPlaygroundPromptMessageItemInput!]!
|
Example
{
"llmApplicationPlaygroundPromptId": "4",
"messages": [
LlmApplicationPlaygroundPromptMessageItemInput
]
}
UpsertLlmManualEvaluationScoreInput
Fields
| Input Field | Description |
|---|---|
llmEvaluationId - ID!
|
The LLM evaluation id that the LLM evaluation answer score belongs to. |
llmEvaluationPromptId - ID!
|
The LLM evaluation prompt id that the LLM evaluation answer score belongs to. |
scores - [LlmEvaluationAnswerScoreInput!]!
|
The scores of the LLM evaluation answer. The length of the array should be the same as the number of completions. |
expectedCompletion - String
|
The expected completion of the LLM evaluation prompt. This should be provided if the evaluation type is RATING and the score is not 5. |
Example
{
"llmEvaluationId": "4",
"llmEvaluationPromptId": "4",
"scores": [LlmEvaluationAnswerScoreInput],
"expectedCompletion": "xyz789"
}
UpsertLlmVectorStoreQuestionsInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
|
llmVectorStoreId - ID!
|
|
questions - [ModifyQuestionInput!]!
|
Example
{
"teamId": "4",
"llmVectorStoreId": 4,
"questions": [ModifyQuestionInput]
}
UpsertOauthClientInput
Fields
| Input Field | Description |
|---|---|
key - String!
|
|
validationType - RegenerateValidationType
|
Example
{
"key": "xyz789",
"validationType": "RECOVERY_CODE"
}
UpsertOauthClientResult
UseRagConfigInSandboxInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
ID of the team. |
llmRagConfigId - ID!
|
ID of the RAG config to be created for the sandbox. |
applicationName - String!
|
Name of the to be created RAG config. |
llmApplicationId - ID
|
ID of the LLM application, if not provided, a new LLM application will be created. |
Example
{
"teamId": "4",
"llmRagConfigId": "4",
"applicationName": "abc123",
"llmApplicationId": "4"
}
UseVectorStoreInLlmApplicationInput
Fields
| Input Field | Description |
|---|---|
teamId - ID!
|
ID of the team. |
llmVectorStoreId - ID!
|
ID of the vector store to be used in the LLM application. |
llmApplicationId - ID
|
ID of the LLM application, if not provided, a new LLM application will be created. |
llmApplicationPlaygroundRagConfigIds - [ID!]
|
ID of the LLM application playground RAG config. |
createNewApplicationPlaygroundRagConfig - Boolean
|
If true, a new LLM application playground RAG config will be created. |
Example
{
"teamId": "4",
"llmVectorStoreId": 4,
"llmApplicationId": "4",
"llmApplicationPlaygroundRagConfigIds": [4],
"createNewApplicationPlaygroundRagConfig": true
}
User
Fields
| Field Name | Description |
|---|---|
id - ID
|
|
samlId - String
|
|
amazonCustomerId - String
|
|
username - String
|
|
name - String
|
|
email - String!
|
|
package - Package!
|
|
profilePicture - String
|
|
allowedActions - [Action!]
|
|
displayName - String!
|
|
teamPackage - Package
|
|
emailVerified - Boolean
|
|
totpAuthEnabled - Boolean
|
|
companyName - String
|
|
createdAt - DateTime
|
|
signUpParams - SignUpParams
|
Example
{
"id": "4",
"samlId": "abc123",
"amazonCustomerId": "xyz789",
"username": "xyz789",
"name": "xyz789",
"email": "xyz789",
"package": "ENTERPRISE",
"profilePicture": "xyz789",
"allowedActions": ["AUTOMATED_TEST"],
"displayName": "xyz789",
"teamPackage": "ENTERPRISE",
"emailVerified": true,
"totpAuthEnabled": true,
"companyName": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"signUpParams": SignUpParams
}
UserAccountDetails
Fields
| Field Name | Description |
|---|---|
hasPassword - Boolean!
|
|
signUpMethod - SignUpMethod
|
Example
{"hasPassword": false, "signUpMethod": "EMAIL_PASSWORD"}
ValidateLLMAssistedLabelingSettingsInput
Fields
| Input Field | Description |
|---|---|
documentId - ID!
|
|
provider - LLMAssistedLabelingProvider!
|
|
options - ExtensionElementSettingOptions!
|
Example
{
"documentId": 4,
"provider": "OPENAI",
"options": ExtensionElementSettingOptions
}
ValidateLLMAssistedLabelingSettingsOutput
ViewerInput
Description
Labeling interface configuration
Fields
| Input Field | Description |
|---|---|
mode - TextDocumentViewer!
|
TOKEN for Token Labeling, and TABULAR or URL for Row Labeling. For URL, configure which column should be rendered via urlColumnNames.
|
urlColumnNames - [String!]
|
Additional configuration for TextDocumentViewer.URL. Required. |
Example
{
"mode": "TOKEN",
"urlColumnNames": ["abc123"]
}
Visualization
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"PIE_CHART"
VisualizationParams
Fields
| Field Name | Description |
|---|---|
visualization - Visualization!
|
|
vAxisTitle - String
|
|
hAxisTitle - String
|
|
pieHoleText - String
|
|
chartArea - ChartArea
|
|
legend - Legend
|
|
colorGradient - ColorGradient
|
|
isStacked - Boolean
|
|
itemsPerPage - Int
|
|
colors - [String!]
|
|
abbreviateKey - Boolean
|
|
showTable - Boolean
|
|
unit - String
|
Example
{
"visualization": "PIE_CHART",
"vAxisTitle": "abc123",
"hAxisTitle": "xyz789",
"pieHoleText": "abc123",
"chartArea": ChartArea,
"legend": Legend,
"colorGradient": ColorGradient,
"isStacked": true,
"itemsPerPage": 987,
"colors": ["xyz789"],
"abbreviateKey": false,
"showTable": false,
"unit": "abc123"
}
WaveformPeaks
Fields
| Field Name | Description |
|---|---|
peaks - [Float!]!
|
Generated audiowaveform data in Float. The peaks value is normalized ranging from 0 - 1. 1 denotes the max value (the loudest point in the audio input) |
pixelPerSecond - Int!
|
The number of output waveform data points to generate for each second of audio input |
Example
{"peaks": [987.65], "pixelPerSecond": 123}
WelcomeEmail
Fields
| Field Name | Description |
|---|---|
email - String!
|
Example
{"email": "abc123"}
WelcomeEmailInput
Fields
| Input Field | Description |
|---|---|
email - String!
|
Example
{"email": "xyz789"}
WipeProjectInput
Fields
| Input Field | Description |
|---|---|
projectId - ID!
|
Example
{"projectId": 4}
WorkspaceSettings
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
textLabelMaxTokenLength - Int!
|
|
allTokensMustBeLabeled - Boolean!
|
|
autoScrollWhenLabeling - Boolean!
|
|
allowArcDrawing - Boolean!
|
|
allowCharacterBasedLabeling - Boolean
|
|
allowMultiLabels - Boolean!
|
|
asrProvider - ASRProvider
|
|
kinds - [ProjectKind!]!
|
|
sentenceSeparator - String!
|
|
displayedRows - Int!
|
|
mediaDisplayStrategy - MediaDisplayStrategy!
|
|
tokenizer - String!
|
|
firstRowAsHeader - Boolean
|
|
transcriptMethod - TranscriptMethod
|
|
ocrProvider - OCRProvider
|
|
customScriptId - ID
|
Deprecated. Please use field fileTransformerId instead. No longer supported
|
fileTransformerId - ID
|
|
customTextExtractionAPIId - ID
|
|
enableTabularMarkdownParsing - Boolean
|
|
enableAnonymization - Boolean!
|
|
anonymizationEntityTypes - [String!]
|
|
anonymizationMaskingMethod - String
|
|
anonymizationRegExps - [RegularExpression!]
|
|
viewer - TextDocumentViewer
|
|
viewerConfig - TextDocumentViewerConfig
|
|
rowQuestionsFormValidationScriptId - ID
|
|
enableRowQuestionsFormValidationScript - Boolean
|
Example
{
"id": 4,
"textLabelMaxTokenLength": 123,
"allTokensMustBeLabeled": true,
"autoScrollWhenLabeling": true,
"allowArcDrawing": true,
"allowCharacterBasedLabeling": true,
"allowMultiLabels": true,
"asrProvider": "OPENAI_WHISPER",
"kinds": ["DOCUMENT_BASED"],
"sentenceSeparator": "abc123",
"displayedRows": 987,
"mediaDisplayStrategy": "NONE",
"tokenizer": "abc123",
"firstRowAsHeader": false,
"transcriptMethod": "TRANSCRIPTION",
"ocrProvider": "APACHE_TIKA",
"customScriptId": 4,
"fileTransformerId": "4",
"customTextExtractionAPIId": "4",
"enableTabularMarkdownParsing": true,
"enableAnonymization": false,
"anonymizationEntityTypes": ["abc123"],
"anonymizationMaskingMethod": "abc123",
"anonymizationRegExps": [RegularExpression],
"viewer": "TOKEN",
"viewerConfig": TextDocumentViewerConfig,
"rowQuestionsFormValidationScriptId": "4",
"enableRowQuestionsFormValidationScript": true
}