POST to https://app.arize.com/graphql with an x-api-key header; see Forming calls.
Mutations in this page
createPrompt: Create a new prompteditPrompt: Edit an existing promptdeletePrompt: Delete an existing promptcreatePromptVersion: Create a new prompt versionupdatePromptVersionLabel: update prompt version label.removePromptVersionLabel: Remove a label from a prompt version
Reference
createPrompt
Create a new promptcreatePrompt(input: CreatePromptMutationInput!): CreatePromptMutationPayload
Arguments
CreatePromptMutationInput!
required
Returns
Prompt!
Example
Only required input fields are shown. Replace<ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.
editPrompt
Edit an existing prompteditPrompt(input: EditPromptMutationInput!): EditPromptMutationPayload
Arguments
EditPromptMutationInput!
required
Returns
Prompt!
Example
Only required input fields are shown. Replace<ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.
deletePrompt
Delete an existing promptdeletePrompt(input: DeletePromptMutationInput!): DeletePromptMutationPayload
Arguments
DeletePromptMutationInput!
required
Returns
Boolean!
Indicates whether the prompt was deleted
Example
Only required input fields are shown. Replace<ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.
createPromptVersion
Create a new prompt versioncreatePromptVersion(input: CreatePromptVersionMutationInput!): CreatePromptVersionMutationPayload
Arguments
CreatePromptVersionMutationInput!
required
Returns
PromptVersion!
Example
Only required input fields are shown. Replace<ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.
updatePromptVersionLabel
update prompt version label.updatePromptVersionLabel(input: updatePromptVersionLabelMutationInput!): updatePromptVersionLabelMutationPayload
Arguments
updatePromptVersionLabelMutationInput!
required
Returns
Prompt!
Example
Only required input fields are shown. Replace<ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.
removePromptVersionLabel
Remove a label from a prompt versionremovePromptVersionLabel(input: removePromptVersionLabelMutationInput!): removePromptVersionLabelMutationPayload
Arguments
removePromptVersionLabelMutationInput!
required
Returns
Prompt!
Example
Only required input fields are shown. Replace<ID> and <string> placeholders with real values; the object graph page shows how to look IDs up.