promptSource(projectReference: String!, id: String!, sourceTargetKind: SourceReadTargetKind, runtimeTargetKind: RuntimeTargetKind, targetBranchId: ID, targetEnvironmentId: ID): PromptSource!
Requires project.agents.read.
Arguments
Response
Returns PromptSource!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
query PromptSource($projectReference: String!, $id: String!, $sourceTargetKind: SourceReadTargetKind, $runtimeTargetKind: RuntimeTargetKind, $targetBranchId: ID, $targetEnvironmentId: ID) {
promptSource(projectReference: $projectReference, id: $id, sourceTargetKind: $sourceTargetKind, runtimeTargetKind: $runtimeTargetKind, targetBranchId: $targetBranchId, targetEnvironmentId: $targetEnvironmentId) {
id
name
content
description
editMode
}
}{
"projectReference": "00000000-0000-4000-8000-000000000001",
"id": "example"
}