---
schema_version: "1"
id: 1b94d57220078bb7808b129b55914e3c2d1b06738838f472ff6230b7b3effc44
title: ProspectingAgentSpec
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_prospectingagentspec.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_prospectingagentspec.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 72b338eced92f80431feef617dd9f8a8f60bb5404f17e47586b00e004750a526
description: Represents a Prospecting Agent specification.
---
# ProspectingAgentSpec

Represents a Prospecting Agent specification.

## Supported Calls

create(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

## Special Access Rules

This object is available if Agentforce Prospecting is enabled in your org and your org has an Agentforce for Sales or an Agentforce for an Industry add-on license. To access this object, you need the Sales Agentic Prospecting Manager user permission.

## Fields

| Field | Details |
| --- | --- |
| AgentDeveloperName | 
Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The developer name associated with the agent.



 |
| BotDefinitionId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

This field is a relationship field.

Relationship Name

BotDefinition

Refers To

BotDefinition



 |
| CurrentRunErrorCode | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Possible values are:

- AgentConfigInvalid
- AgentInactive
- AgentTimeout
- GeneralException
- InvalidInputs
- ReportSelectionInvalid
- UnknownError
- ZoomInfoAuthFailure
- ZoomInfoLookupFailed
- ZoomInfoQuotaExhausted
- ZoomInfoRateLimited





 |
| CurrentRunStartDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time the current run started.



 |
| CurrentRunStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Possible values are:

- Completed
- Failed
- Interrupted
- NotAvailable
- Pending
- Queued
- Running
- Skipped





 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on Create, Filter, Group, Sort, Update

Description

This field is a polymorphic relationship field.

Relationship Name

Owner

Refers To

Group, User



 |