For the complete documentation index, see llms.txt. This page is also available as Markdown.

getGuidelineDetails

Get full details of a specific guideline by ID.

Examples

query GetGuidelineDetails($id: String!) {
  getGuidelineDetails(id: $id) {
    _id
    oxGuidelineId
    languages
    displayName
    description
    prompt
    promptSections {
      type
      value
      order
    }
    activationCriteria
    activationCriteriaDefinition {
      displayName
      description
      category
    }
    status
    isEditable
    createdBy
    createdAt
    updatedBy
    updatedAt
    category
    isDeleted
    isReady
    examplePrompt
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

Arguments

You can use the following argument(s) to customize your getGuidelineDetails query.

Argument
Description
Supported fields

id String! required

ID of the guideline to retrieve

Fields

Return type: GuidelineDetails!

You can use the following field(s) to specify what information your getGuidelineDetails query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

_id String!

Guideline ID

oxGuidelineId String

OX Guideline ID (if this is an OX guideline)

Languages this guideline is applicable to

displayName String!

Display name of the guideline

description String

Description of the guideline

prompt String!

Prompt of the guideline as text

Prompt of the guidelines as sections (future enhancement)

type PromptSectionType! value String! order Float!

activationCriteria String!

Activation criteria of the guideline

activationCriteriaDefinition ActivationCriteriaDefinitionResponse

Activation criteria definition of the guideline

displayName String! description String! category CategoryId!

Status of the guideline (Enabled or Disabled)

isEditable Boolean!

Whether the guideline is editable

createdBy String!

User who created the guideline

createdAt DateTime!

Creation timestamp

updatedBy String!

User who last updated the guideline

updatedAt DateTime!

Last update timestamp

category CategoryId!

Category of the guideline

isDeleted Boolean!

Whether the guideline is deleted

isReady Boolean!

Whether the guideline is ready

examplePrompt String

Example prompt that the guideline should be triggered for

Last updated