Getting started

sources

This page is the command reference for @orchestor-inc/cli.

Commands

  • orc sources gaps list — List locally derived source gaps
  • orc sources domains list — List source domains
  • orc sources domains get — Get source domain detail
  • orc sources urls list — List source URLs
  • orc sources urls get — Get source URL detail
  • orc sources citations list — List source citation aggregates

orc sources gaps list

List locally derived source gaps

Usage

orc sources gaps list [flags]

Flags

FlagTypeRequiredDescription
--viewstringNoenum: domain|host|url
--min-competitorsnumberNoMinimum distinct configured competitors found in an answer.
--start-datestringNoInclusive lower bound as a UTC calendar date (YYYY-MM-DD).
--end-datestringNoInclusive upper bound as a UTC calendar date (YYYY-MM-DD).
--searchstringNoCase-insensitive source hostname, URL, or title search.
--filter[platform]stringNoComma-separated model platform values (for example, openai or anthropic).
--filter[topic-id]stringNoComma-separated topic IDs for the answer cohort.
--filter[brand-id]stringNoComma-separated owned Brand IDs for the answer cohort.
--filter[tag]stringNoComma-separated prompt tag names for the answer cohort.
--filter[mentioned-brand-id]stringNoComma-separated competitor Brand IDs that must be mentioned in qualifying answers.
--filter[country]stringNoComma-separated ISO 3166-1 alpha-2 country codes for qualifying prompts.
--mentioned-brand-operatorstringNoWhether any or all selected mentioned Brand IDs must occur in a qualifying answer.; enum: or|and
--filter[domain-classification]stringNoComma-separated SourceDomainClassification values.
--filter[url-classification]stringNoComma-separated SourceUrlClassification values.
--sortstringNoField used to order the derived gap rows.; enum: source|competitor_count|retrieval_count|retrieved_percentage|retrieval_rate|citation_rate|gap_score
--orderstringNoSort direction.; enum: asc|desc
--pagenumberNovalue
--limitnumberNoMaximum number of items to return

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc source list-gaps

Help

orc sources gaps list --help

orc sources domains list

List source domains

Usage

orc sources domains list [flags]

Flags

FlagTypeRequiredDescription
--projectstringNoOptional project filter for web callers.
--viewstringNoRollup axis for source evidence rows; domain uses registrable domains and host uses normalized hostnames.; enum: domain|host
--start-datestringNoInclusive lower bound as a UTC calendar date (YYYY-MM-DD).
--end-datestringNoInclusive upper bound as a UTC calendar date (YYYY-MM-DD).
--cohortstringNoSource mover view over the union of retrieval evidence and citation events; top includes either current retrievals or citations, while new, trending, and losing use retrieval observations only. Cohorts are overlapping views, not exclusive buckets.; enum: top|new|trending|losing
--filter[platform]stringNoComma-separated model platform values (for example, openai or anthropic).
--filter[topic-id]stringNoComma-separated topic IDs for the answer cohort.
--filter[brand-id]stringNoComma-separated owned Brand IDs for the answer cohort.
--filter[tag]stringNoComma-separated prompt tag names for the answer cohort.
--filter[classification]stringNoComma-separated SourceDomainClassification values.
--sortstringNoenum: hostname|classification|retrieval_count|retrieval_change|retrieval_rate|retrieval_frequency|citation_count|citation_rate|url_count|share_of_voice|first_seen_at|last_seen_at
--orderstringNoenum: asc|desc
--pagenumberNovalue
--limitnumberNoMaximum number of items to return

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc source list-domains

Help

orc sources domains list --help

orc sources domains get

Get source domain detail

Usage

orc sources domains get <id> [flags]

Arguments

ArgumentRequiredDescription
idYesSource-domain hostname from the host view of the list endpoint.

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc source get-domain

Help

orc sources domains get --help

orc sources urls list

List source URLs

Usage

orc sources urls list [flags]

Flags

FlagTypeRequiredDescription
--projectstringNovalue
--start-datestringNoInclusive lower bound as a UTC calendar date (YYYY-MM-DD).
--end-datestringNoInclusive upper bound as a UTC calendar date (YYYY-MM-DD).
--cohortstringNoSource mover view over the union of retrieval evidence and citation events; top includes either current retrievals or citations, while new, trending, and losing use retrieval observations only. Cohorts are overlapping views, not exclusive buckets.; enum: top|new|trending|losing
--filter[platform]stringNoComma-separated model platform values (for example, openai or anthropic).
--filter[topic-id]stringNoComma-separated topic IDs for the answer cohort.
--filter[brand-id]stringNoComma-separated owned Brand IDs for the answer cohort.
--filter[tag]stringNoComma-separated prompt tag names for the answer cohort.
--filter[classification]stringNoComma-separated SourceUrlClassification values.
--sortstringNoenum: url|hostname|retrieval_count|retrieval_change|citation_count|share_of_voice|first_seen_at|last_seen_at
--orderstringNoenum: asc|desc
--limitnumberNoMaximum number of items to return
--cursorstringNoOpaque cursor for the next page

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc source list-urls

Help

orc sources urls list --help

orc sources urls get

Get source URL detail

Usage

orc sources urls get <id> [flags]

Arguments

ArgumentRequiredDescription
idYesURL-encoded source URL from the list endpoint.

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc source get-url

Help

orc sources urls get --help

orc sources citations list

List source citation aggregates

Usage

orc sources citations list [flags]

Flags

FlagTypeRequiredDescription
--projectstringNovalue
--start-datestringNoInclusive lower bound as a UTC calendar date (YYYY-MM-DD).
--end-datestringNoInclusive upper bound as a UTC calendar date (YYYY-MM-DD).
--group-bystringYesComma-separated SourceCitationGroupBy values.
--bucket-widthstringNoRequired when group_by includes date.; enum: day|week|month
--classification-scopestringNoSelects whether group_by=classification returns domain classifications or URL classifications.; enum: domain|url
--filter[hostname]stringNoComma-separated hostnames.
--filter[domain]stringNoComma-separated registrable domains; subdomains are normalized to their registrable domain.
--filter[url]stringNoComma-separated URLs.
--filter[classification]stringNoComma-separated classification values matching classification_scope.
--filter[platform]stringNoComma-separated model platform values (for example, openai or anthropic).
--filter[topic-id]stringNoComma-separated topic IDs for the answer cohort.
--filter[brand-id]stringNoComma-separated owned Brand IDs for the answer cohort.
--filter[tag]stringNoComma-separated prompt tag names for the answer cohort.
--limitnumberNoMaximum number of items to return
--cursorstringNoOpaque cursor for the next page

See global flags for output and request options. Use --help to check the flags supported by this command.

Compatibility aliases

  • orc source list-citations

Help

orc sources citations list --help