For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

TargetApiName

Type reference for TargetApiName in the Rippling SDK, including its public shape and related types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Extracts the target api name from a lookup or parent-child target.

Type definition​

export type TargetApiName<TTarget> = TTarget extends {
    readonly apiName: infer TApiName extends string;
} ? TApiName : never;
In this article: