Register entities
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Specifies the behavior for automatically generated names when registering an entity.
- NEW_IDS: Generate new registry IDs
- IDS_FROM_NAMES: Generate registry IDs based on entity names
- DELETE_NAMES: Generate new registry IDs and use them as names
- SET_FROM_NAME_PARTS: Generate new registry IDs, set names from name template, keep original as alias
- REPLACE_NAMES_FROM_PARTS: Generate new registry IDs, set names from name template
- KEEP_NAMES: Use entity names as registry IDs
- REPLACE_ID_AND_NAME_FROM_PARTS: Set registry IDs and names from name template
Response
This endpoint launches a long-running task and returns the Task ID of the launched task.
When successful, the task has an empty response. Benchling cannot always process two registration attempts within the same registry at the same time, so it’s possible for the task to return an error response that indicates another attempt is already in progress and currently blocking this one. Benchling will automatically retry the task up to 3 times, and in the unlikely event that it is still failing, the task status will be “FAILED” and the error message will read:
Another registration attempt is in progress. Please try again in a few moments. If this problem persists, please wait 1-2 minutes before trying again.